module Neo4j::Shared::Cypher::CreateMethod

Public Instance Methods

create_method() click to toggle source
  # File lib/neo4j/shared/cypher.rb
4 def create_method
5   creates_unique? ? :create_unique : :create
6 end
creates_unique(option = :none) click to toggle source
   # File lib/neo4j/shared/cypher.rb
 8 def creates_unique(option = :none)
 9   option = :none if option == true
10   @creates_unique = option
11 end
creates_unique?() click to toggle source
   # File lib/neo4j/shared/cypher.rb
17 def creates_unique?
18   !!@creates_unique
19 end
Also aliased as: unique?
creates_unique_option() click to toggle source
   # File lib/neo4j/shared/cypher.rb
13 def creates_unique_option
14   @creates_unique || :none
15 end
unique?()
Alias for: creates_unique?