Method: Neo4j::Core::Query#reorder
- Defined in:
- lib/neo4j/core/query.rb
#reorder(*args) ⇒ Object
Clears out previous order clauses and allows only for those specified by args
188 189 190 191 192 193 |
# File 'lib/neo4j/core/query.rb', line 188 def reorder(*args) query = copy query.remove_clause_class(OrderClause) query.order(*args) end |