What to build
Add first-class pagination support so Supabase-backed TanStack DB collection reads can fetch more than the PostgREST per-request row limit. Users should not silently receive incomplete collection data when a query matches more than 1,000 rows.
The implementation should fetch data in pages using PostgREST ranges, continuing until the requested limit is satisfied or the final page returns fewer rows than requested. This behavior should work with filters, ordering, explicit limits, offsets, and any cursor/query metadata TanStack DB provides.
The completed issue should include tests and documentation. Loading thousands of rows into a browser can be expensive, so the README/API docs should explain when automatic paging applies, how page size is configured, and when developers should prefer narrower filters or explicit limits.
Acceptance criteria
Blocked by
None - can start immediately.
What to build
Add first-class pagination support so Supabase-backed TanStack DB collection reads can fetch more than the PostgREST per-request row limit. Users should not silently receive incomplete collection data when a query matches more than 1,000 rows.
The implementation should fetch data in pages using PostgREST ranges, continuing until the requested limit is satisfied or the final page returns fewer rows than requested. This behavior should work with filters, ordering, explicit limits, offsets, and any cursor/query metadata TanStack DB provides.
The completed issue should include tests and documentation. Loading thousands of rows into a browser can be expensive, so the README/API docs should explain when automatic paging applies, how page size is configured, and when developers should prefer narrower filters or explicit limits.
Acceptance criteria
Blocked by
None - can start immediately.