sql-js / sql-js/sql.js

Delete (Recreate Database) - WebWorker

Đang mở
#617 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
JavaScript
Star
13.7k
Fork
1.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, wasm
Lĩnh vực
databases, web-dev
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.