数据库驱动改进

This commit is contained in:
thinkphp
2017-07-12 15:21:37 +08:00
parent 8d731b2f4c
commit 52e33ddbc7
3 changed files with 5 additions and 1 deletions

View File

@@ -724,7 +724,7 @@ abstract class Builder
* @param bool $replace 是否replace
* @return string
*/
public function insertAll($dataSet, $options, $replace = false)
public function insertAll($dataSet, $options = [], $replace = false)
{
// 获取合法的字段
if ('*' == $options['field']) {