philippkueng / node-neo4j

Neo4j REST API wrapper for Node.js
MIT License
211 stars 44 forks source link

How to do Order By, Limit etc queries? #50

Closed rajaraodv closed 9 years ago

rajaraodv commented 9 years ago

How to do Order By, Limit etc queries?

rajaraodv commented 9 years ago

btw, fantastic module w/tons of tests! thanks.

philippkueng commented 9 years ago

Hi @rajaraodv,

I'd recommend that you use the cypherQuery function for that with which you can also specify order by and limit http://neo4j.com/docs/2.0/cypher-refcard/ - see the function within the tests for more examples.

I don't think we'll add this to the library directly, since this is more a thin wrapper than an ORM.

Hope that helps, Cheers Philipp

rajaraodv commented 9 years ago

Thanks!