Sha256: 646b8e2c34505a771fc39bfea8940c308906f9689e4da792781648dd489b926d

Contents?: true

Size: 671 Bytes

Versions: 92

Compression:

Stored size: 671 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 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

92 entries across 92 versions & 2 rubygems

Version Path
neo4j-9.6.2 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.alpha.11 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.alpha.10 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.alpha.9 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.alpha.8 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.alpha.7 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.alpha.6 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-10.0.0.pre.alpha.5 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-10.0.0.pre.alpha.4 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-10.0.0.pre.alpha.3 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-10.0.0.pre.alpha.2 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-10.0.0.pre.alpha.1 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-9.6.1 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-9.6.0 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-9.5.3 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-9.5.2 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-9.5.0 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-9.4.0 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-9.3.0 lib/neo4j/active_node/has_n/association/rel_wrapper.rb
neo4j-9.2.4 lib/neo4j/active_node/has_n/association/rel_wrapper.rb