sidorares / sidorares/node-mysql2

Set default Transaction Isolation Level

Open
#737 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4.4k
Forks
680
Avg merge
9h 7m
Merged PRs (30d)
59

Description

Pending #732 since its going to be implemented same way this one is.

I intend to PR the ability to automatically set default connection level Transaction Isolation Level upon connect

I'm currently doing it per-transaction in my DB wrapper, but would be ideal to just set it for the connection.

Filing issue to declare intent so others can follow this if they also desire this.

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

Read the dependency noted in the issue, #732, before investigating how connections are established. The intended result is a default transaction isolation level applied automatically when a connection is created, rather than setting it per transaction in a database wrapper; verify the behavior with a connection-level test.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, node.js, typescript
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.