class Neo4j::ActiveNode::HasN::Association::RelWrapper

Provides the interface needed to interact with the ActiveRel query factory.

Attributes

association[R]
properties[RW]
props_for_create[RW]
type[R]

Public Class Methods

new(association, properties = {}) click to toggle source
   # File lib/neo4j/active_node/has_n/association/rel_wrapper.rb
12 def initialize(association, properties = {})
13   @association = association
14   @properties = properties
15   @type = association.relationship_type(true)
16   creates_unique(association.creates_unique_option) if association.unique?
17 end

Public Instance Methods

persisted?() click to toggle source
   # File lib/neo4j/active_node/has_n/association/rel_wrapper.rb
19 def persisted?
20   false
21 end