Skip to content

Commit

Permalink
Merge branch 'master' of github.com:golergka/pg-ts
Browse files Browse the repository at this point in the history
  • Loading branch information
golergka committed Apr 23, 2021
2 parents 923427a + 5f3d477 commit 895ba1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pg-tx

This package provides a minimalistic way, based on [this answer](https://stackoverflow.com/a/65588782/312725), but improved to remove a class of subtle bugs.
This package provides a minimalistic way to implement transactions on top of [node-postgres](http://node-postgres.com), based on [this answer](https://stackoverflow.com/a/65588782/312725), but improved to remove a class of subtle bugs.

## Usage

Expand Down Expand Up @@ -67,4 +67,4 @@ await tx(pg, async (db) => {
})
```

To prevent this, we use ProxyClient, which implements a disposable pattern. After the client has been released, any attempts to use it will throw an error.
To prevent this, we use ProxyClient, which implements a disposable pattern. After the client has been released, any attempts to use it will throw an error.

0 comments on commit 895ba1c

Please sign in to comment.