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

fix and extend postgres transaction example #1636

Merged
merged 1 commit into from
Feb 17, 2022

Conversation

taladar
Copy link
Contributor

@taladar taladar commented Jan 17, 2022

This fixes the missing await? mentioned in #1631 and extends the example to include a case of explicit rollback, implicit rollback via drop of the transaction object and commit each.

@abonander
Copy link
Collaborator

@taladar looks like cargo fmt needs to be run

@taladar taladar force-pushed the fix_transaction_example branch from 36a25eb to f2f51e7 Compare February 16, 2022 06:27
@taladar
Copy link
Contributor Author

taladar commented Feb 16, 2022

@abonander I just did that, no other changes compared to the previous version.

@abonander abonander merged commit fd4d219 into launchbadge:master Feb 17, 2022
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.

2 participants