db
db copied to clipboard
batchInsert support ignore
When I execute batch inserting into tables with unique index, I hope the batchInsert
method of yii\db\Command
Class have a argument to specify whether to execute INSERT IGNORE INTO
or just INSERT INTO
.
INSERT IGNORE itself is MySQL-specific. Need to check if there are similar features in other DBs.
related to #5138
this is something i would like too but as @samdark said it would break with all databases except for one.
Not support all dbms.