sql-js / sql-js/sql.js

Delete (Recreate Database) - WebWorker

オープン
#617 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
13.7k
フォーク
1.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, wasm
領域
databases, web-dev
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。