We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b69fae0 commit 519084bCopy full SHA for 519084b
src/Kir/MySQL/Databases/MySQL.php
@@ -168,4 +168,25 @@ public function update() {
168
public function delete() {
169
return new Builder\RunnableDelete($this);
170
}
171
+
172
+ /**
173
+ * @return $this
174
+ */
175
+ public function transactionStart() {
176
+ $this->exec('BEGIN;');
177
+ }
178
179
180
181
182
+ public function transactionCommit() {
183
+ $this->exec('COMMIT;');
184
185
186
187
188
189
+ public function transactionRollback() {
190
+ $this->exec('ROLLBACK;');
191
192
0 commit comments