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
Post a Comment