{"action":"closed","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/3045","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/3045/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/3045/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/3045/events","html_url":"https://github.com/balderdashy/sails/issues/3045","id":91739945,"number":3045,"title":"The bug for query by datetime type field","user":{"login":"kuangyunsheng","id":10006626,"avatar_url":"https://avatars.githubusercontent.com/u/10006626?v=3","gravatar_id":"","url":"https://api.github.com/users/kuangyunsheng","html_url":"https://github.com/kuangyunsheng","followers_url":"https://api.github.com/users/kuangyunsheng/followers","following_url":"https://api.github.com/users/kuangyunsheng/following{/other_user}","gists_url":"https://api.github.com/users/kuangyunsheng/gists{/gist_id}","starred_url":"https://api.github.com/users/kuangyunsheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuangyunsheng/subscriptions","organizations_url":"https://api.github.com/users/kuangyunsheng/orgs","repos_url":"https://api.github.com/users/kuangyunsheng/repos","events_url":"https://api.github.com/users/kuangyunsheng/events{/privacy}","received_events_url":"https://api.github.com/users/kuangyunsheng/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-29T08:48:16Z","updated_at":"2015-06-30T03:00:58Z","closed_at":"2015-06-30T03:00:58Z","body":"I use sails 0.11.0 in my project., and generate a api named user, then insert some data in user collection.\r\n\r\nWhen I request in the browser like this:\r\n\r\nhttp://localhost/user?where={createdAt: {\">\": \"2015-06-29\"}}\r\n\r\nIt returns correct records. but when I enclose createdAt in quotation mark:\r\n\r\nhttp://localhost/user?where={\"createdAt\":  {\">\": \"2015-06-29\"}}\r\n\r\nIt returns a empty array.\r\n\r\nThen, I query data by $http service of angular.js according to datetime field：\r\n\r\n$http.get('http://localhost/user', {createdAt:  {\">\": \"2015-06-29\"}}\r\n\r\nlt also return a empty array.\r\n"}}