{"action":"opened","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/3169","repository_url":"https://api.github.com/repos/realm/realm-cocoa","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3169/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3169/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/3169/events","html_url":"https://github.com/realm/realm-cocoa/issues/3169","id":130801696,"number":3169,"title":"Expand support for SUBQUERY","user":{"login":"bdash","id":54825,"avatar_url":"https://avatars.githubusercontent.com/u/54825?v=3","gravatar_id":"","url":"https://api.github.com/users/bdash","html_url":"https://github.com/bdash","followers_url":"https://api.github.com/users/bdash/followers","following_url":"https://api.github.com/users/bdash/following{/other_user}","gists_url":"https://api.github.com/users/bdash/gists{/gist_id}","starred_url":"https://api.github.com/users/bdash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdash/subscriptions","organizations_url":"https://api.github.com/users/bdash/orgs","repos_url":"https://api.github.com/users/bdash/repos","events_url":"https://api.github.com/users/bdash/events{/privacy}","received_events_url":"https://api.github.com/users/bdash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-02T20:08:53Z","updated_at":"2016-02-02T20:08:53Z","closed_at":null,"body":"The initial implementation of SUBQUERY support in #2998 has some limitations:\r\n  - [ ] The `SUBQUERY(…).@count` expression must be compared with a constant.\r\n  - [ ] Correlated subqueries are not supported.\r\n\r\nWe may wish to address these in the future."}}