This commit is contained in:
2022-09-07 14:36:32 +08:00
parent c7ad5123e2
commit 9d81bc6479
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -286,7 +286,7 @@ class ActiveQuery extends Component implements ISqlBuilder
* @return bool
* @throws
*/
public function batchUpdate(array $data): bool
public function update(array $data): bool
{
$generate = $this->builder->update($data);
if (is_bool($generate)) {
@@ -300,7 +300,7 @@ class ActiveQuery extends Component implements ISqlBuilder
* @return bool
* @throws
*/
public function batchInsert(array $data): bool
public function insert(array $data): bool
{
[$sql, $params] = $this->builder->insert($data, TRUE);