Executes a query on all shards and applies global merge/sort/pagination in-library.
Unlike allAllShards, this helper returns a single merged QueryResult and can sort/paginate across the full combined result set after fanout.
allAllShards
QueryResult
Type of the result records
SQL statement to execute on each shard
Parameter values to bind to the SQL statement
Global merge/sort/pagination options
Promise resolving to one globally-processed query result
1.1.4
Executes a query on all shards and applies global merge/sort/pagination in-library.
Unlike
allAllShards, this helper returns a single mergedQueryResultand can sort/paginate across the full combined result set after fanout.