Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction support #16

Merged
merged 8 commits into from
Jul 10, 2022
Merged

Transaction support #16

merged 8 commits into from
Jul 10, 2022

Conversation

ahopkins
Copy link
Owner

@ahopkins ahopkins commented Jul 10, 2022

Closes #10

async with executor.transaction():
    await executor.some_operation()
    await executor.rollback()

@ahopkins ahopkins marked this pull request as ready for review July 10, 2022 16:51
@ahopkins ahopkins merged commit 9509416 into main Jul 10, 2022
@ahopkins ahopkins deleted the transactions branch July 10, 2022 20:23
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.

Transaction management
1 participant