Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update records based on multi medel ids (Links) #159

Open
nomi-ramzan opened this issue Apr 20, 2017 · 1 comment
Open

Update records based on multi medel ids (Links) #159

nomi-ramzan opened this issue Apr 20, 2017 · 1 comment

Comments

@nomi-ramzan
Copy link

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

@nomi-ramzan
Copy link
Author

I think I found the problem. Problem is with orientjs
I also created an issue on orientjs. Here is Link of that issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant