We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
insertWithReturningPks()
insertReturningPks()
1 parent 4d39f1f commit aa54da4Copy full SHA for aa54da4
src/ActiveRecord.php
@@ -161,7 +161,7 @@ protected function insertInternal(array|null $properties = null): bool
161
}
162
163
$values = $this->newPropertyValues($properties);
164
- $primaryKeys = $this->db()->createCommand()->insertWithReturningPks($this->tableName(), $values);
+ $primaryKeys = $this->db()->createCommand()->insertReturningPks($this->tableName(), $values);
165
166
if ($primaryKeys === false) {
167
return false;
0 commit comments