From 742daeed5453eecfbf059550c0f1847c822da36b Mon Sep 17 00:00:00 2001 From: H2LSOFT Date: Fri, 29 Jan 2021 00:55:59 +0100 Subject: [PATCH] add rollBack() --- src/DBManager.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/DBManager.php b/src/DBManager.php index d550c56..b344248 100644 --- a/src/DBManager.php +++ b/src/DBManager.php @@ -1089,7 +1089,13 @@ public function commit() $this->connection->commit(); } - + /** + * Rollback transaction + */ + public function rollBack() + { + $this->connection->rollBack(); + } }