Transactions for SQLite
未关闭
还没有人认领这个 Issue。
feature request
never-stale
sqlite
- 主要语言
- JavaScript
- 星标
- 122k
- 派生
- 37.4k
- 平均合并
- 4 天 3 小时
- 30 天内合并 PR
- 272
描述
Hello, I haven’t found a discussion neither an issue that talks about the support for transactions. Is this something Node.js will/would support in the future?
This is how better-sqlite3 uses it: https://github.com/WiseLibs/better-sqlite3/blob/master/docs/api.md#transactionfunction---function
Thanks 🙏🏼
Originally posted by @sant123 in https://github.com/nodejs/node/discussions/57396
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读链接的讨论以及 issue 中引用的 better-sqlite3 事务文档。没有确定任何 Node.js 文件或测试;首先需要就事务 API 和实现范围达成一致,并以已接受的支持以及相应测试作为完成标准。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, node.js, sqlite
- 领域
- backend, databases
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100