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
In SQL I can do an insert with multiple rows using something like INSERT INTO table (id,name) VALUES (1,'None'), (2,'Single'), (3,'Double'), (4,'Triple')
How can I do this with easydb? Can I create a multidimensional array and pass it to the insert() function or do I need to write my own loop for the array?
The text was updated successfully, but these errors were encountered:
Awesome, thank you for that. Not sure if it's possible, but adding the ability to add an "ignore" flag to all the types of "inserts" functions would be great. So I could do an insertMultiple("table",$arrayMap,$ignore=true); or something along those lines. I might be the only person needing this so I fully understand if that doesn't make it as an update.
In SQL I can do an insert with multiple rows using something like
INSERT INTO table (id,name) VALUES (1,'None'), (2,'Single'), (3,'Double'), (4,'Triple')
How can I do this with easydb? Can I create a multidimensional array and pass it to the insert() function or do I need to write my own loop for the array?
The text was updated successfully, but these errors were encountered: