- 查询语言.forUpdate
- 函数原型
- 用法如下
查询语言.forUpdate
函数原型
public function forUpdate($bFlag = true);
用法如下
# SELECT `test`.* FROM `test` FOR UPDATEDb::table('test')->forUpdate()->getAll();
Or
# SELECT `test`.* FROM `test`Db::table('test')->forUpdate()->forUpdate(false)->getAll();
