Query类lock方法支持传入字符串

This commit is contained in:
thinkphp
2017-09-05 17:36:15 +08:00
parent c5a826bcc1
commit 4ef35fa4bb
2 changed files with 7 additions and 3 deletions

View File

@@ -1493,7 +1493,7 @@ class Query
/**
* 指定查询lock
* @access public
* @param boolean $lock 是否lock
* @param bool|string $lock 是否lock
* @return $this
*/
public function lock($lock = false)