Skip to content

feat: add in_tx field for a query #1537

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Daksh-10
Copy link

#1394

It allows the user to know if the query was executed inside a transaction or not.

During query preparation, the Backend ProxyState is checked and if it is ProxyState::InTransaction, then event.in_tx = true.

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