Class: Neo4j::Cypher::Predicate
- Inherits:
-
AbstractFilter
- Object
- AbstractFilter
- Neo4j::Cypher::Predicate
- Defined in:
- lib/neo4j-cypher/predicate.rb
Constant Summary
Constants included from Clause
Instance Attribute Summary
Attributes included from Clause
#clause_list, #clause_type, #eval_context, #expr, #insert_order
Instance Method Summary collapse
-
#initialize(clause_list, method_name, input_context, &block) ⇒ Predicate
constructor
A new instance of Predicate.
Methods inherited from AbstractFilter
#filter_arg, #filter_exec, #filter_expr, #filter_initialize, #filter_value, #return_value, #to_cypher
Methods included from Clause
#<=>, #alias_name, #as_alias, #as_alias?, #clause_position, #create_clause_args_for, #match_value, #match_value=, #prefix, #referenced!, #referenced?, #return_value, #separator, #to_prop_string, #valid_clause?, #var_name, #var_name=
Constructor Details
#initialize(clause_list, method_name, input_context, &block) ⇒ Predicate
Returns a new instance of Predicate.
5 6 7 8 9 |
# File 'lib/neo4j-cypher/predicate.rb', line 5 def initialize(clause_list, method_name, input_context, &block) super(clause_list, :where, input_context) # Input can either be a property array or a node/relationship collection filter_initialize(input_context, method_name, " WHERE ", &block) end |