{"action":"created","issue":{"url":"https://api.github.com/repos/SSPkrolik/nimongo/issues/64","repository_url":"https://api.github.com/repos/SSPkrolik/nimongo","labels_url":"https://api.github.com/repos/SSPkrolik/nimongo/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/SSPkrolik/nimongo/issues/64/comments","events_url":"https://api.github.com/repos/SSPkrolik/nimongo/issues/64/events","html_url":"https://github.com/SSPkrolik/nimongo/issues/64","id":381790598,"node_id":"MDU6SXNzdWUzODE3OTA1OTg=","number":64,"title":"`for ai in mc.find(query).limit(0).items(): ...` returns all documents; I would expect 0 docs","user":{"login":"timotheecour","id":2194784,"node_id":"MDQ6VXNlcjIxOTQ3ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2194784?v=4","gravatar_id":"","url":"https://api.github.com/users/timotheecour","html_url":"https://github.com/timotheecour","followers_url":"https://api.github.com/users/timotheecour/followers","following_url":"https://api.github.com/users/timotheecour/following{/other_user}","gists_url":"https://api.github.com/users/timotheecour/gists{/gist_id}","starred_url":"https://api.github.com/users/timotheecour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timotheecour/subscriptions","organizations_url":"https://api.github.com/users/timotheecour/orgs","repos_url":"https://api.github.com/users/timotheecour/repos","events_url":"https://api.github.com/users/timotheecour/events{/privacy}","received_events_url":"https://api.github.com/users/timotheecour/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-16T23:00:55Z","updated_at":"2018-11-17T02:42:55Z","closed_at":"2018-11-17T02:42:55Z","author_association":"NONE","body":"perhaps the code should use -1 as special value to mean \"all\", not 0, which should be a valid limit"},"comment":{"url":"https://api.github.com/repos/SSPkrolik/nimongo/issues/comments/439581484","html_url":"https://github.com/SSPkrolik/nimongo/issues/64#issuecomment-439581484","issue_url":"https://api.github.com/repos/SSPkrolik/nimongo/issues/64","id":439581484,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTU4MTQ4NA==","user":{"login":"timotheecour","id":2194784,"node_id":"MDQ6VXNlcjIxOTQ3ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2194784?v=4","gravatar_id":"","url":"https://api.github.com/users/timotheecour","html_url":"https://github.com/timotheecour","followers_url":"https://api.github.com/users/timotheecour/followers","following_url":"https://api.github.com/users/timotheecour/following{/other_user}","gists_url":"https://api.github.com/users/timotheecour/gists{/gist_id}","starred_url":"https://api.github.com/users/timotheecour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timotheecour/subscriptions","organizations_url":"https://api.github.com/users/timotheecour/orgs","repos_url":"https://api.github.com/users/timotheecour/repos","events_url":"https://api.github.com/users/timotheecour/events{/privacy}","received_events_url":"https://api.github.com/users/timotheecour/received_events","type":"User","site_admin":false},"created_at":"2018-11-17T02:42:55Z","updated_at":"2018-11-17T02:42:55Z","author_association":"NONE","body":"EDIT:\r\nsadly, this matches behavior of mongo shell, eg:\r\ndb.tnimongo.find().limit(0)\r\nreturns everything...\r\n\r\nalso mentioned here: http://devblog.me/wtf-mongo\r\n\r\nclosing\r\n\r\n"}}
{"actor":{"display_login":"timotheecour"}}