mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-02 05:02:48 +08:00
改进Query类的lock方法 支持主从
This commit is contained in:
@@ -1051,7 +1051,8 @@ class Query
|
||||
*/
|
||||
public function lock($lock = false)
|
||||
{
|
||||
$this->options['lock'] = $lock;
|
||||
$this->options['lock'] = $lock;
|
||||
$this->options['master'] = true;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user