Does anyone have an example for creating a transaction?
Opened this issue · 1 comments
Deleted user commented
I am trying to create a transaction in NeoEloquent, but the transaction never rolled back or not working correctly
\DB::connection('neo4j')->transaction(function () { \App\Member::create(["name" => "Hello"]); throw new Exception(); });
member object always created and stored in the database !!
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.