Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-08-2020 08:26 AM
I have a graphQL System query which has the potential to return a couple of thousand nested AWSresource nodes:
{
System(code: "single-system-view") {
name
awsResources {
name
}
}
}
By using the first
pagination syntax (first:100) I can reduce the list returned to me to the first 100 records BUT I'm not seeing a huge change in performance. Does the underlying full query still run to get all the records but only returns what I asked for?
(my actual query is more complex with 10 sub types attached to each System - each of which can have hundreds of records).
Thanks
Geoff
07-08-2020 08:54 AM
I believe it still runs the full query. You may need to check into pagination or a custom cypher query with a range of ids.
All the sessions of the conference are now available online