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.1.1 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-11.0.1-java lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-11.0.0-java lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.1.0 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-11.0.0.beta.4-java lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.0.2 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-11.0.0.beta.3-java lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-11.0.0.beta.2-java lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-11.0.0.beta.1-java lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.0.1 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.0.0 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.beta.11 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.beta.10 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.beta.9 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.beta.8 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.beta.7 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.beta.6 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.beta.5 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.beta.4 lib/active_graph/node/has_n/association/rel_wrapper.rb
activegraph-10.0.0.pre.beta.3 lib/active_graph/node/has_n/association/rel_wrapper.rb