nodejs / nodejs/node

Transactions for SQLite

Open
#57,431 12 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request never-stale sqlite
Dominant language
JavaScript
Stars
122k
Forks
37.3k
Avg merge
4d 2h
Merged PRs (30d)
283

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked discussion and the better-sqlite3 transaction documentation referenced in the issue. No Node.js files or tests are identified; the work would first need an agreed transaction API and implementation scope, with completion defined by accepted support and corresponding tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, sqlite
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.