Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add pagination support beyond the PostgREST 1,000 row limit

Chiusa
#9 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
supabase, typescript
Ambito
api, database

Direzione di ricerca

Inizia tracciando il punto di ingresso per la lettura delle collection basato su Supabase e rivedendo i test esistenti, il README e la documentazione dell’API. Verifica come vengono attualmente passati gli intervalli, i filtri, l’ordinamento, i limiti, gli offset e i metadati della query, quindi esegui la suite di test. L’attività è completata quando le letture su più pagine, le pagine finali brevi e gli errori di pagina si comportano come specificato e la documentazione copre la dimensione della pagina e i compromessi relativi ai risultati di grandi dimensioni.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement ready-for-agent

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

  • Collection reads can fetch more than 1,000 matching rows.
  • Paging works with filters, ordering, explicit limits, and offsets.
  • Errors from any page fail the full load cleanly.
  • Tests cover multi-page fetch behavior and final short-page behavior.
  • Documentation explains page size, large-result behavior, and performance tradeoffs.

Blocked by

None - can start immediately.

Lingua principale
TypeScript
Stelle
57
Fork
6
Merge medio
14h 28m
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di supabase/tanstack-db

Tutte le issue di supabase/tanstack-db

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.