I would like to update a specific id attribute with "updateAll" method. Its possible?
Model.updateAll({userId:10}, {userId:5, name:'test'}, function (...
"UserId" is id attribute in model.json
sql syntax
update table set name='test' where userId=10
Why its not possible to update userId like so?
update table set name='test' and userId=5 where userId=10
via J.Doe
No comments:
Post a Comment