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
executeMany expects a string VALUES (?,?,?...) in the query, which requires the underlying values() function (which is provided by PostgreSQL, but not MySQL). The regex used in the source for formatMany just looks for VALUES (?,?,?...) substring. A MySQL update would require it to support a query of the form UPDATE table SET x = ?, y = ? WHERE z = ?. MySQL doesn't support any way (that I could find) that would allow an update query that used the VALUES(?,?,?...) form. The documentation just needs changing to specify that executeMany only works with insert queries, and not update queries.
The text was updated successfully, but these errors were encountered:
executeMany
expects a stringVALUES (?,?,?...)
in the query, which requires the underlying values() function (which is provided by PostgreSQL, but not MySQL). The regex used in the source forformatMany
just looks forVALUES (?,?,?...)
substring. A MySQL update would require it to support a query of the formUPDATE table SET x = ?, y = ? WHERE z = ?
. MySQL doesn't support any way (that I could find) that would allow an update query that used theVALUES(?,?,?...)
form. The documentation just needs changing to specify thatexecuteMany
only works with insert queries, and not update queries.The text was updated successfully, but these errors were encountered: