Help me better understand paginated queries
filter from the convex-helpers library when, in client, I give a small value to initialNumItems. I have 2 tables:
table campaigns
table members
Now I want to find all the campaigns where "user_id" is part of, using a paginated query. So I write this function:
The last query will return data only if I give a bigger value to
initialNumItems: with value 3 it returns 2 records, but with 10 then it find the 3 records I'm expecting.It seems to me that the filtering I'm applying is messing up the cursor and perhaps the first record found by the pagination is beyond the initial cursor?
