You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for batch inserts on the connection and query builder
/** * @param string $table The table to insert the given records in * @param array[] $rows The rows to insert into the table */publicfunction batchInsert(string$table, array$rows): int
Each row should consist of an key-value array where the key should match the column name.
All the rows should contain the same amount of columns.
The order of the columns doesn't matter (the implementation should sort the keys alphabetically ksort).
The text was updated successfully, but these errors were encountered:
Add support for batch inserts on the connection and query builder
Each row should consist of an key-value array where the key should match the column name.
All the rows should contain the same amount of columns.
The order of the columns doesn't matter (the implementation should sort the keys alphabetically
ksort
).The text was updated successfully, but these errors were encountered: