I think* the transaction is just discarded. Is this accurate?
I'm using mysql
Example:
try {
DB::beginTransaction();
throw new Exception("something happened");
DB::commit()
} catch (Exception $e) {
Log::debug("something bad happened");
}
Thanks
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire