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
There is an ability to batch insert of array data using Database Builder.
And it sorts before insert to make values or consistent to keys definition in INSERT clause.
But now it allows to batch insert of several different size or keys array. Example:
SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]
The number of columns for each row in a table value constructor must be the same.
I think, the insert method should throw an exception before trying to save it using the DB Driver.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
There is an ability to batch insert of array data using Database Builder.
And it sorts before insert to make values or consistent to keys definition in INSERT clause.
But now it allows to batch insert of several different size or keys array. Example:
It causes error like this (SQL Server example):
I think, the
insert
method should throw an exception before trying to save it using the DB Driver.Beta Was this translation helpful? Give feedback.
All reactions