Transactions in connection management #1502
Answered
by
McSneaky
popovicieduard
asked this question in
Help
-
I was wondering what is the behaviour of using a transaction with the dual mode in : https://preview.adonisjs.com/guides/database/connections-management Is the transaction shared between the 2 connections, or there is no such concept as sharing a transaction between 2 db's ? |
Beta Was this translation helpful? Give feedback.
Answered by
McSneaky
Aug 23, 2020
Replies: 1 comment 1 reply
-
All queries in transaction have to use same connection. It's limit on most of the DBs |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
popovicieduard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All queries in transaction have to use same connection. It's limit on most of the DBs