Can you get the full count of result even when using limit clause with Neo4j -



Can you get the full count of result even when using limit clause with Neo4j -

i'm limiting number of results performance reason, have query like

match (a:part) homecoming limit 50

is possible total count of node label part in order display result represents 50 results out of x total records?

but more expensive , not efficient has load/pull data.

you can either (prob more efficient):

match (a:part) count(*) c match (a:part) homecoming c,a limit 50

or

match (a:part) count(*) c,collect(a)[0..50] parts unwind parts homecoming c,a limit 50

neo4j

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -