{"action":"opened","issue":{"url":"https://api.github.com/repos/mac-cain13/DocumentStore/issues/22","repository_url":"https://api.github.com/repos/mac-cain13/DocumentStore","labels_url":"https://api.github.com/repos/mac-cain13/DocumentStore/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/mac-cain13/DocumentStore/issues/22/comments","events_url":"https://api.github.com/repos/mac-cain13/DocumentStore/issues/22/events","html_url":"https://github.com/mac-cain13/DocumentStore/issues/22","id":191457042,"number":22,"title":"Aggregation shizzle support for Indexes","user":{"login":"mac-cain13","id":618233,"avatar_url":"https://avatars.githubusercontent.com/u/618233?v=3","gravatar_id":"","url":"https://api.github.com/users/mac-cain13","html_url":"https://github.com/mac-cain13","followers_url":"https://api.github.com/users/mac-cain13/followers","following_url":"https://api.github.com/users/mac-cain13/following{/other_user}","gists_url":"https://api.github.com/users/mac-cain13/gists{/gist_id}","starred_url":"https://api.github.com/users/mac-cain13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mac-cain13/subscriptions","organizations_url":"https://api.github.com/users/mac-cain13/orgs","repos_url":"https://api.github.com/users/mac-cain13/repos","events_url":"https://api.github.com/users/mac-cain13/events{/privacy}","received_events_url":"https://api.github.com/users/mac-cain13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-24T08:15:59Z","updated_at":"2016-11-24T08:15:59Z","closed_at":null,"body":"Would be nice if you could do something like: `.filtered { $0.age > $0.age.avg() }` to find the Document where the `age` index is greater than the average `age`.\r\n\r\nOther example: `.filtered { $0.numberOfPages == $0.numberOfPages.min() }` to find the thinnest book.\r\n\r\nShould think a little more about when this is useful and what we should support."}}
{"actor":{"display_login":"mac-cain13"}}