{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/1920","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/1920/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/1920/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/1920/events","html_url":"https://github.com/strongloop/loopback/issues/1920","id":124146384,"number":1920,"title":"PersistedModel.updateAll Where filter does not work","user":{"login":"mike-aungsan","id":2186809,"avatar_url":"https://avatars.githubusercontent.com/u/2186809?v=3","gravatar_id":"","url":"https://api.github.com/users/mike-aungsan","html_url":"https://github.com/mike-aungsan","followers_url":"https://api.github.com/users/mike-aungsan/followers","following_url":"https://api.github.com/users/mike-aungsan/following{/other_user}","gists_url":"https://api.github.com/users/mike-aungsan/gists{/gist_id}","starred_url":"https://api.github.com/users/mike-aungsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mike-aungsan/subscriptions","organizations_url":"https://api.github.com/users/mike-aungsan/orgs","repos_url":"https://api.github.com/users/mike-aungsan/repos","events_url":"https://api.github.com/users/mike-aungsan/events{/privacy}","received_events_url":"https://api.github.com/users/mike-aungsan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-29T00:51:42Z","updated_at":"2015-12-29T00:55:14Z","closed_at":null,"body":"This does not work.\r\n\r\n    var whereFilter = {}\r\n    whereFilter.where = {'or': [ {'managerId': 'x001'},  {'managerId': 'x002'} ] }\r\n\r\n    Employee.updateAll(whereFilter, {managerId: 'x003'}, function(err, info) {\r\n        ...\r\n    });"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback/issues/comments/167687916","html_url":"https://github.com/strongloop/loopback/issues/1920#issuecomment-167687916","issue_url":"https://api.github.com/repos/strongloop/loopback/issues/1920","id":167687916,"user":{"login":"superkhau","id":1617364,"avatar_url":"https://avatars.githubusercontent.com/u/1617364?v=3","gravatar_id":"","url":"https://api.github.com/users/superkhau","html_url":"https://github.com/superkhau","followers_url":"https://api.github.com/users/superkhau/followers","following_url":"https://api.github.com/users/superkhau/following{/other_user}","gists_url":"https://api.github.com/users/superkhau/gists{/gist_id}","starred_url":"https://api.github.com/users/superkhau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superkhau/subscriptions","organizations_url":"https://api.github.com/users/superkhau/orgs","repos_url":"https://api.github.com/users/superkhau/repos","events_url":"https://api.github.com/users/superkhau/events{/privacy}","received_events_url":"https://api.github.com/users/superkhau/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T00:55:14Z","updated_at":"2015-12-29T00:55:14Z","body":"What connector are you using?"}}