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