Runs a query across all shards and returns a single page plus the total
match count.
allAllShardsGlobal already merges, filters, sorts, and slices across shards
but discards the pre-slice count. paginate keeps that count so list
endpoints can return { results, total, page, limit, pages } for a UI in one
call instead of issuing a second COUNT query.
Runs a query across all shards and returns a single page plus the total match count.
allAllShardsGlobalalready merges, filters, sorts, and slices across shards but discards the pre-slice count.paginatekeeps that count so list endpoints can return{ results, total, page, limit, pages }for a UI in one call instead of issuing a second COUNT query.