Delete (Recreate Database) - WebWorker
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 13.7k
- Forks
- 1.1k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Sorry if this is an obvious answer, I scanned through the docs, I couldn't see anything obvious where using the web worker I could delete and recreate the db file. There's obviously some cases where migrations go wrong, and would need to nuke the db. (Rather than telling users to go and clear the website cache :)
For extra reference, we use sql.js via Sql Delight (WasmJs Kotlin Multiplatform)
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
No source file or test is named. Start by reviewing the WebWorker database lifecycle and the documentation referenced in the issue, then determine how sql.js exposes database deletion and recreation. Done means a web-worker user can reset the database without clearing the browser cache, with behavior documented and tested.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, wasm
- Bereich
- databases, web-dev
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100