{"action":"created","issue":{"url":"https://api.github.com/repos/BoLaMN/loopback-mongo-aggregate-mixin/issues/1","repository_url":"https://api.github.com/repos/BoLaMN/loopback-mongo-aggregate-mixin","labels_url":"https://api.github.com/repos/BoLaMN/loopback-mongo-aggregate-mixin/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/BoLaMN/loopback-mongo-aggregate-mixin/issues/1/comments","events_url":"https://api.github.com/repos/BoLaMN/loopback-mongo-aggregate-mixin/issues/1/events","html_url":"https://github.com/BoLaMN/loopback-mongo-aggregate-mixin/issues/1","id":185014441,"number":1,"title":"does it support random sample?","user":{"login":"jjhesk","id":629338,"avatar_url":"https://avatars.githubusercontent.com/u/629338?v=3","gravatar_id":"","url":"https://api.github.com/users/jjhesk","html_url":"https://github.com/jjhesk","followers_url":"https://api.github.com/users/jjhesk/followers","following_url":"https://api.github.com/users/jjhesk/following{/other_user}","gists_url":"https://api.github.com/users/jjhesk/gists{/gist_id}","starred_url":"https://api.github.com/users/jjhesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjhesk/subscriptions","organizations_url":"https://api.github.com/users/jjhesk/orgs","repos_url":"https://api.github.com/users/jjhesk/repos","events_url":"https://api.github.com/users/jjhesk/events{/privacy}","received_events_url":"https://api.github.com/users/jjhesk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-25T04:10:08Z","updated_at":"2016-12-21T11:32:02Z","closed_at":"2016-12-21T11:32:02Z","body":"i found that from [here](https://docs.mongodb.com/v3.2/reference/operator/aggregation/sample/) which doesnt support from this mixin.\n"},"comment":{"url":"https://api.github.com/repos/BoLaMN/loopback-mongo-aggregate-mixin/issues/comments/268501051","html_url":"https://github.com/BoLaMN/loopback-mongo-aggregate-mixin/issues/1#issuecomment-268501051","issue_url":"https://api.github.com/repos/BoLaMN/loopback-mongo-aggregate-mixin/issues/1","id":268501051,"user":{"login":"BoLaMN","id":414479,"avatar_url":"https://avatars.githubusercontent.com/u/414479?v=3","gravatar_id":"","url":"https://api.github.com/users/BoLaMN","html_url":"https://github.com/BoLaMN","followers_url":"https://api.github.com/users/BoLaMN/followers","following_url":"https://api.github.com/users/BoLaMN/following{/other_user}","gists_url":"https://api.github.com/users/BoLaMN/gists{/gist_id}","starred_url":"https://api.github.com/users/BoLaMN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoLaMN/subscriptions","organizations_url":"https://api.github.com/users/BoLaMN/orgs","repos_url":"https://api.github.com/users/BoLaMN/repos","events_url":"https://api.github.com/users/BoLaMN/events{/privacy}","received_events_url":"https://api.github.com/users/BoLaMN/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T11:32:02Z","updated_at":"2016-12-21T11:32:02Z","body":"it should see https://github.com/BoLaMN/loopback-mongo-aggregate-mixin/blob/master/src/query.coffee#L84\r\n\r\nso just \r\n\r\n\"aggregate\": {\r\n  \"sample\": 5\r\n}"}}
{"actor":{"display_login":"BoLaMN"}}