{"action":"created","issue":{"url":"https://api.github.com/repos/django/django/issues/6478","repository_url":"https://api.github.com/repos/django/django","labels_url":"https://api.github.com/repos/django/django/issues/6478/labels{/name}","comments_url":"https://api.github.com/repos/django/django/issues/6478/comments","events_url":"https://api.github.com/repos/django/django/issues/6478/events","html_url":"https://github.com/django/django/pull/6478","id":149677804,"number":6478,"title":"Explicit SubQuery (and EXISTS) support for QuerySets.","user":{"login":"schinckel","id":23411,"avatar_url":"https://avatars.githubusercontent.com/u/23411?v=3","gravatar_id":"","url":"https://api.github.com/users/schinckel","html_url":"https://github.com/schinckel","followers_url":"https://api.github.com/users/schinckel/followers","following_url":"https://api.github.com/users/schinckel/following{/other_user}","gists_url":"https://api.github.com/users/schinckel/gists{/gist_id}","starred_url":"https://api.github.com/users/schinckel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schinckel/subscriptions","organizations_url":"https://api.github.com/users/schinckel/orgs","repos_url":"https://api.github.com/users/schinckel/repos","events_url":"https://api.github.com/users/schinckel/events{/privacy}","received_events_url":"https://api.github.com/users/schinckel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":28,"created_at":"2016-04-20T07:00:35Z","updated_at":"2016-09-02T08:59:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/6478","html_url":"https://github.com/django/django/pull/6478","diff_url":"https://github.com/django/django/pull/6478.diff","patch_url":"https://github.com/django/django/pull/6478.patch"},"body":"Sort-of related to:\r\n\r\n  https://code.djangoproject.com/ticket/16603\r\n  https://code.djangoproject.com/ticket/25789\r\n\r\nbut this is dealing with .annotate(), rather than .filter() methods\r\non a queryset."},"comment":{"url":"https://api.github.com/repos/django/django/issues/comments/244321692","html_url":"https://github.com/django/django/pull/6478#issuecomment-244321692","issue_url":"https://api.github.com/repos/django/django/issues/6478","id":244321692,"user":{"login":"mjtamlyn","id":389581,"avatar_url":"https://avatars.githubusercontent.com/u/389581?v=3","gravatar_id":"","url":"https://api.github.com/users/mjtamlyn","html_url":"https://github.com/mjtamlyn","followers_url":"https://api.github.com/users/mjtamlyn/followers","following_url":"https://api.github.com/users/mjtamlyn/following{/other_user}","gists_url":"https://api.github.com/users/mjtamlyn/gists{/gist_id}","starred_url":"https://api.github.com/users/mjtamlyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjtamlyn/subscriptions","organizations_url":"https://api.github.com/users/mjtamlyn/orgs","repos_url":"https://api.github.com/users/mjtamlyn/repos","events_url":"https://api.github.com/users/mjtamlyn/events{/privacy}","received_events_url":"https://api.github.com/users/mjtamlyn/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T08:59:56Z","updated_at":"2016-09-02T08:59:56Z","body":"I think so. I am using a version of this code in production as a faster way to do a range of aggregations/annotations, especially when it involves two separtae optimisations on the same table. (e.g. optimise whether the user likes a thing, and how many likes the thing has)"}}
{"actor":{"display_login":"mjtamlyn"}}