{"action":"opened","issue":{"url":"https://api.github.com/repos/deployd/deployd/issues/862","repository_url":"https://api.github.com/repos/deployd/deployd","labels_url":"https://api.github.com/repos/deployd/deployd/issues/862/labels{/name}","comments_url":"https://api.github.com/repos/deployd/deployd/issues/862/comments","events_url":"https://api.github.com/repos/deployd/deployd/issues/862/events","html_url":"https://github.com/deployd/deployd/issues/862","id":297362991,"number":862,"title":"query operators / filters not working : http://localhost:2404/address?{$fields: {city: 0} } ","user":{"login":"moorthi07","id":1709771,"avatar_url":"https://avatars3.githubusercontent.com/u/1709771?v=4","gravatar_id":"","url":"https://api.github.com/users/moorthi07","html_url":"https://github.com/moorthi07","followers_url":"https://api.github.com/users/moorthi07/followers","following_url":"https://api.github.com/users/moorthi07/following{/other_user}","gists_url":"https://api.github.com/users/moorthi07/gists{/gist_id}","starred_url":"https://api.github.com/users/moorthi07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moorthi07/subscriptions","organizations_url":"https://api.github.com/users/moorthi07/orgs","repos_url":"https://api.github.com/users/moorthi07/repos","events_url":"https://api.github.com/users/moorthi07/events{/privacy}","received_events_url":"https://api.github.com/users/moorthi07/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-15T08:28:51Z","updated_at":"2018-02-15T08:28:51Z","closed_at":null,"author_association":"MEMBER","body":"\r\n`http://localhost:2404/address?{$fields: {city: 0} } `\r\n is not working as oppose to ,\r\n`dpd.address.get({$fields: {city: 1} },console.log) `\r\nwhich is working.\r\n\r\nerror:\r\nHTTP/1.1 400 Bad Request\r\nContent-Type: text/plain\r\nDate: Thu, 15 Feb 2018 07:29:55 GMT\r\nConnection: keep-alive\r\nContent-Length: 82\r\n\r\nFailed to parse querystring: SyntaxError: Unexpected token $ in JSON at position 1\r\n\r\n\r\nIs this in the document wrong? [http://docs.deployd.com/docs/collections/reference/querying-collections.html](http://docs.deployd.com/docs/collections/reference/querying-collections.html)\r\nWhen using an advanced query in REST, you must pass JSON as the query string, for example:\r\n\r\nGET /posts?{\"likes\": {\"$gt\": 10}}\r\n\r\n"}}
{"actor":{"display_login":"moorthi07"}}