class Neo4j::Cypher::Property::EvalContext

Public Instance Methods

asc() click to toggle source
   # File lib/neo4j-cypher/property.rb
72 def asc
73   ReturnItem.new(clause_list, self).eval_context.asc
74 end
desc() click to toggle source
   # File lib/neo4j-cypher/property.rb
76 def desc
77   ReturnItem.new(clause_list, self).eval_context.desc
78 end
in?(values) click to toggle source

@private

   # File lib/neo4j-cypher/property.rb
95 def in?(values)
96   clause.unary_operator("", :where, " IN [#{values.map { |x| %Q["#{x}"] }.join(',')}]")
97 end
length() click to toggle source
    # File lib/neo4j-cypher/property.rb
 99 def length
100   clause.to_function!('length')
101   self
102 end
where(&block) click to toggle source
   # File lib/neo4j-cypher/property.rb
80 def where(&block)
81   x = block.call(self)
82   clause_list.delete(x)
83   Operator.new(clause_list, x.clause, nil, "").unary!
84   self
85 end
where_not(&block) click to toggle source
   # File lib/neo4j-cypher/property.rb
87 def where_not(&block)
88   x = block.call(self)
89   clause_list.delete(x)
90   Operator.new(clause_list, x.clause, nil, "not").unary!
91   self
92 end