Module: Neo4j::Cypher::Context::Sortable
- Defined in:
- lib/neo4j-cypher/context.rb
Instance Method Summary collapse
- #_return_item ⇒ Object
- #asc(*props) ⇒ Object
- #desc(*props) ⇒ Object
- #limit(val) ⇒ Object
- #skip(val) ⇒ Object
Instance Method Details
#_return_item ⇒ Object
155 156 157 |
# File 'lib/neo4j-cypher/context.rb', line 155 def _return_item @return_item ||= ReturnItem.new(clause_list, self).eval_context end |
#asc(*props) ⇒ Object
159 160 161 162 |
# File 'lib/neo4j-cypher/context.rb', line 159 def asc(*props) _return_item.asc(*props) self end |
#desc(*props) ⇒ Object
164 165 166 167 |
# File 'lib/neo4j-cypher/context.rb', line 164 def desc(*props) _return_item.desc(*props) self end |
#limit(val) ⇒ Object
174 175 176 177 |
# File 'lib/neo4j-cypher/context.rb', line 174 def limit(val) _return_item.limit(val) self end |
#skip(val) ⇒ Object
169 170 171 172 |
# File 'lib/neo4j-cypher/context.rb', line 169 def skip(val) _return_item.skip(val) self end |