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 ca349e6 commit 70e19a0Copy full SHA for 70e19a0
src/Connection.php
@@ -1431,6 +1431,34 @@ public function getFieldsType($tableName)
1431
return $this->getTableInfo($tableName, 'type');
1432
}
1433
1434
+ /**
1435
+ * 启动事务
1436
+ * @access public
1437
+ * @return void
1438
+ * @throws \PDOException
1439
+ * @throws \Exception
1440
+ */
1441
+ public function startTrans()
1442
+ {}
1443
+
1444
1445
+ * 用于非自动提交状态下面的查询提交
1446
1447
1448
+ * @throws PDOException
1449
1450
+ public function commit()
1451
1452
1453
1454
+ * 事务回滚
1455
1456
1457
1458
1459
+ public function rollback()
1460
1461
1462
/**
1463
* 析构方法
1464
* @access public
0 commit comments