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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -