Class: Neo4j::Cypher::Skip
- Inherits:
-
Object
- Object
- Neo4j::Cypher::Skip
- Includes:
- Clause
- Defined in:
- lib/neo4j-cypher/return.rb
Overview
Can be used to skip result from a return clause
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, value, context) ⇒ Skip
constructor
A new instance of Skip.
- #to_cypher ⇒ Object
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, value, context) ⇒ Skip
Returns a new instance of Skip.
9 10 11 12 |
# File 'lib/neo4j-cypher/return.rb', line 9 def initialize(clause_list, value, context) super(clause_list, :skip, context) @value = value end |
Instance Method Details
#to_cypher ⇒ Object
14 15 16 |
# File 'lib/neo4j-cypher/return.rb', line 14 def to_cypher @value end |