Sha256: 625595364b8c6e68442c882b5651881eef291429c8272d9b3e4dcbf1dbb58045
Contents?: true
Size: 681 Bytes
Versions: 62
Compression:
Stored size: 681 Bytes
Contents
class Neo4j::ActiveNode::HasN::Association # Provides the interface needed to interact with the ActiveRel query factory. class RelWrapper include Neo4j::Shared::Cypher::RelIdentifiers include Neo4j::Shared::Cypher::CreateMethod attr_reader :type, :association attr_accessor :properties private :association alias_method :props_for_create, :properties def initialize(association, properties = {}) @association = association @properties = properties @type = association.relationship_type(true) creates_unique(association.creates_unique_option) if association.unique? end def persisted? false end end end
Version data entries
62 entries across 62 versions & 2 rubygems