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
I see that callback is defined in lib/connection.js:92 and check for a isNew variable received from save or update method
I think that callback must receive a parameter to force the update for this cases.
There is another way to do this?
The text was updated successfully, but these errors were encountered:
Hello, I don't know how to resolve with your ORM this MySql sentence (I'm using your ORM to connect to SQLITE and MySQL)
UPDATE ON KEY EXISTS
to do this, I use the onSave hook, and there I check if are a record with the Keys,
the code is something like this:
I see that callback is defined in lib/connection.js:92 and check for a isNew variable received from save or update method
I think that callback must receive a parameter to force the update for this cases.
There is another way to do this?
The text was updated successfully, but these errors were encountered: