laravel conneciotn code example
Example: laravel transaction query not working when multiple db connection
Start the transaction on the same connection your query will run on.
Start the transaction on the same connection your query will run on.