Closed ghost closed 3 years ago
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 !!
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.
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 !!