Skip to content

feat: Add transactional methods - #141

Open
LautaroPetaccio wants to merge 2 commits into
mainfrom
feat/add-transactional-methods
Open

feat: Add transactional methods#141
LautaroPetaccio wants to merge 2 commits into
mainfrom
feat/add-transactional-methods

Conversation

@LautaroPetaccio

Copy link
Copy Markdown

This PR adds two new transactional methods to the PG component. The first one performs a simple transaction and rolls it back if there's any type of error and the second one does the same, but creates an async context in which all queries executed with the query method will get in the transaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant