Custom queries are executed multiple times?
See original GitHub issueWhen running the demo project and running the following query
{
actorPager(page: 1, pagesize: 10, search: "an")
{
people {
firstName
}
total
pageCount
}
}
The QueryController.RunDataQuery
method is executed once but the GraphQLSchema.PaginateActors
is executed multiple times?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Why does my query run multiple times - Power Query
This article provides information about the various reasons that a Power Query query will sometimes run multiple times.
Read more >Execute a query multiple times
I would like to do something similar but with a Query. The same query would be executed multiple times and then the result...
Read more >Why is an oracle query executed multiple times?
Some selects are being executed over 500k times. A Person cannot run a query that many times without getting really, really bored.
Read more >SQL query executed multiple times
This query is executing multiple times using different values as params. It executes after new object is saved. In total it takes a...
Read more >How to run a query multiple times with different values in date
I'm very new to the sql and am wondering what is the easiest way to run the same query multiple times with different...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Peter-Optiway this is exactly what I’d like to look at doing!
I haven’t given it a good look / think yet. But we should be able to collect the expression when we are creating it in the visitor and replace it with a parameter and later when executing (and we have all the arguments we require) execute those service calls (once) and pass the results in as arguments.
This has now been published.