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 am trying to update multi records based on multi model ids but it is not working properly.
When i run query in Orientdb UPDATE items SET status = 1 WHERE link_id IN [#1:1, #1:2]
it works fine
But when I am trying to run it on sails no record updates Items.update({ link_id: ['#1:1', '#1:2'] }, {status:1})
How can I do this ?
Thank you
The text was updated successfully, but these errors were encountered:
I am trying to update multi records based on multi model ids but it is not working properly.
When i run query in Orientdb
UPDATE items SET status = 1 WHERE link_id IN [#1:1, #1:2]
it works fine
But when I am trying to run it on sails no record updates
Items.update({ link_id: ['#1:1', '#1:2'] }, {status:1})
How can I do this ?
Thank you
The text was updated successfully, but these errors were encountered: