is there a way to retrieve more than 16k items?
I need to filter items from a large table with client-side js. The items don’t have to be reactive or anything; I just need more than 16k items. I guess looping queries is the way to go, but I couldn’t find an example of it.
1 Reply
i would use pagination for this. https://docs.convex.dev/database/pagination
you can either use the reactive
usePaginatedQuery
and repeatedly callloadMore
from the client, or you can do the "Paginating manually" pattern to call the query in a loop, either from an action or from the client.Paginated Queries | Convex Developer Hub
Load paginated queries.