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
Took me a while to figure it out, but I think D1 errors when using ordered parameters in combination with unordered parameters.
I was getting errors about using the wrong amount of parameters with the following query:
Updating to use ?1 fixed this for me. It would be nice to have a warning somewhere. As unordered parameters are supported by D1, I didn't think too much about it when switching to this library.
The text was updated successfully, but these errors were encountered:
Hey @ghostrider-05 you should be able to use unordered parameters is the other methods like selects, deletes and etc.
This is only a problem in the update method, as all the updatedUserAttributes are also passed as parameters to the inner database
i will provide a fix for this in the next version, thanks for reporting
Took me a while to figure it out, but I think D1 errors when using ordered parameters in combination with unordered parameters.
I was getting errors about using the wrong amount of parameters with the following query:
Updating to use
?1
fixed this for me. It would be nice to have a warning somewhere. As unordered parameters are supported by D1, I didn't think too much about it when switching to this library.The text was updated successfully, but these errors were encountered: