hyper63 / hyper63/hyper-adapter-sqlite

chg: refactor adapter code to be async, functional and safe

未关闭
#3 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
2
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

The current code works, but it is very imperative and can potentially block transactions, because each query is executed synchronously, I recommend we wrap the query in a promise to give control back to the program while executing.

贡献指南

这个仓库没有索引到贡献指南

调研方向

No file or test is named. Start by locating the adapter's synchronous query execution and inspect how the SQLite adapter implements the Cache Port. Done means the query path is asynchronous and does not block transactions while preserving the adapter's existing behavior.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, sqlite
领域
backend, database
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。