Skip to content

Commit aa54da4

Browse files
committed
Rename insertWithReturningPks() to insertReturningPks()
1 parent 4d39f1f commit aa54da4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ActiveRecord.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ protected function insertInternal(array|null $properties = null): bool
161161
}
162162

163163
$values = $this->newPropertyValues($properties);
164-
$primaryKeys = $this->db()->createCommand()->insertWithReturningPks($this->tableName(), $values);
164+
$primaryKeys = $this->db()->createCommand()->insertReturningPks($this->tableName(), $values);
165165

166166
if ($primaryKeys === false) {
167167
return false;

0 commit comments

Comments
 (0)