-
-
Notifications
You must be signed in to change notification settings - Fork 15
Rename batchInsert() to insertBatch() with optional $columns #332
Copy link
Copy link
Open
Labels
status:ready for adoptionFeel free to implement this issue.Feel free to implement this issue.
Description
Mark batchInsert() as deprecated
db-migration/src/MigrationBuilder.php
Lines 119 to 124 in 38fdc07
| public function batchInsert(string $table, array $columns, iterable $rows): void | |
| { | |
| $time = $this->beginCommand("Insert into $table"); | |
| $this->db->createCommand()->insertBatch($table, $rows, $columns)->execute(); | |
| $this->endCommand($time); | |
| } |
Add insertBatch() where $columns argument is optional:
public function insertBatch(string $table, iterable $rows, array $columns = []): voidReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status:ready for adoptionFeel free to implement this issue.Feel free to implement this issue.