{"action":"closed","issue":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/226","repository_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb","labels_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/226/comments","events_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/226/events","html_url":"https://github.com/strongloop/loopback-connector-mongodb/issues/226","id":127306649,"number":226,"title":"No support for $bitsAnySet?","user":{"login":"charlesdeuter","id":16052686,"avatar_url":"https://avatars.githubusercontent.com/u/16052686?v=3","gravatar_id":"","url":"https://api.github.com/users/charlesdeuter","html_url":"https://github.com/charlesdeuter","followers_url":"https://api.github.com/users/charlesdeuter/followers","following_url":"https://api.github.com/users/charlesdeuter/following{/other_user}","gists_url":"https://api.github.com/users/charlesdeuter/gists{/gist_id}","starred_url":"https://api.github.com/users/charlesdeuter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlesdeuter/subscriptions","organizations_url":"https://api.github.com/users/charlesdeuter/orgs","repos_url":"https://api.github.com/users/charlesdeuter/repos","events_url":"https://api.github.com/users/charlesdeuter/events{/privacy}","received_events_url":"https://api.github.com/users/charlesdeuter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-01-18T20:39:09Z","updated_at":"2016-12-20T01:11:38Z","closed_at":"2016-12-20T01:11:38Z","body":"Hi I'm trying to do a bitmask query, however it looks as if there is no support for the mongoDB $bitsAnySet query operator. \n\nI'm using a simple call, as such:\n'Archive.find({where: {options: { $bitsAnySet: 15}}}, callback);'\n\nthe object attribute is configured as such:\n'\"options\": {\n    \"type\": \"number\",\n    \"required\": true,\n    \"default\": 12\n}\"'\n\n'Can't canonicalize query: BadValue unknown operator: $$bitsAnySet'\n\nremoving the $ just gives the same error with one less dollar sign...\n"}}
{"actor":{"display_login":"charlesdeuter"}}