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

Support dynamically adding tables in schema at runtime

Aperta
#332 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
sqlite, typescript
Ambito
database

Direzione di ricerca

The payload names no files, tests or entry points, so start by finding where the client SDK defines its local SQLite schema and how tables are registered. The issue asks how to add tables to that schema at runtime, a question rather than a specified change, and the thread gives no decision, so there is no clear definition of done. Confirm the maintainers' intended approach before writing code.

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

Descrizione

Imagine that I have two tables: pack_a and pack_b.
In my application, I only want to fetch the items of pack_a when user enters the feature A, and only fetch the items of pack_b when user enters the feature B. For now, when my app launched and logged in, all items of pack_a and pack_b have been downloaded into my sqlite.
How can I do it? Do you have a mechanism that dynamically adds tables into schema.

Lingua principale
TypeScript
Stelle
729
Fork
96
Merge medio
2g 1h
PR unite (30g)
26

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 powersync-ja/powersync-js

Tutte le issue di powersync-ja/powersync-js

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.