Sha256: 59939ad708730f86f39d7e004a626d57c0ff2723fdd504baa29abd613ff0c978
Contents?: true
Size: 686 Bytes
Versions: 42
Compression:
Stored size: 686 Bytes
Contents
class ActiveGraph::Node::HasN::Association # Provides the interface needed to interact with the Relationship query factory. class RelWrapper include ActiveGraph::Shared::Cypher::RelIdentifiers include ActiveGraph::Shared::Cypher::CreateMethod attr_reader :type, :association attr_accessor :properties private :association alias 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
42 entries across 42 versions & 1 rubygems
Version | Path |
---|---|
activegraph-10.0.0.pre.beta.2 | lib/active_graph/node/has_n/association/rel_wrapper.rb |
activegraph-10.0.0.pre.beta.1 | lib/active_graph/node/has_n/association/rel_wrapper.rb |