Skip to content
New issue

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

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

Already on GitHub? # to your account

Add example on how to use Transaction as Executor #3311

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Add example on how to use Transaction as Executor #3311

merged 2 commits into from
Jul 22, 2024

Conversation

Lachstec
Copy link
Contributor

fixes #2699 by providing an example on how to use a transaction as an executor when trying to execute queries with it.

@Lachstec Lachstec requested a review from abonander July 20, 2024 08:31
@abonander abonander merged commit 940d9fb into launchbadge:main Jul 22, 2024
65 checks passed
jrasanen pushed a commit to jrasanen/sqlx that referenced this pull request Oct 14, 2024
* add example using Transaction as Executor to docs

* change tx.as_mut() to &mut *tx
jrasanen pushed a commit to jrasanen/sqlx that referenced this pull request Oct 14, 2024
* add example using Transaction as Executor to docs

* change tx.as_mut() to &mut *tx
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sqlx lost transaction support starting version 0.7.0
2 participants