{"action":"created","issue":{"url":"https://api.github.com/repos/Ivshti/linvodb3/issues/58","repository_url":"https://api.github.com/repos/Ivshti/linvodb3","labels_url":"https://api.github.com/repos/Ivshti/linvodb3/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/Ivshti/linvodb3/issues/58/comments","events_url":"https://api.github.com/repos/Ivshti/linvodb3/issues/58/events","html_url":"https://github.com/Ivshti/linvodb3/issues/58","id":193279440,"number":58,"title":"Expose Cursor to allow simpler promisification via Bluebird","user":{"login":"YurySolovyov","id":2168518,"avatar_url":"https://avatars.githubusercontent.com/u/2168518?v=3","gravatar_id":"","url":"https://api.github.com/users/YurySolovyov","html_url":"https://github.com/YurySolovyov","followers_url":"https://api.github.com/users/YurySolovyov/followers","following_url":"https://api.github.com/users/YurySolovyov/following{/other_user}","gists_url":"https://api.github.com/users/YurySolovyov/gists{/gist_id}","starred_url":"https://api.github.com/users/YurySolovyov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YurySolovyov/subscriptions","organizations_url":"https://api.github.com/users/YurySolovyov/orgs","repos_url":"https://api.github.com/users/YurySolovyov/repos","events_url":"https://api.github.com/users/YurySolovyov/events{/privacy}","received_events_url":"https://api.github.com/users/YurySolovyov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-03T10:31:21Z","updated_at":"2016-12-14T19:25:59Z","closed_at":null,"body":"ATM to have promisified Cursor I have to do (correct me if there is a better way):\r\n```js\r\nPromise.promisifyAll(models.Track.find().__proto__);\r\n```\r\nso then I can do\r\n```js\r\nconst tracks = await app.models.Track.find().sort(querySort).execAsync();\r\n```\r\n\r\nit would be much nicer if I could just do:\r\n```js\r\nconst linvodb = require('linvodb3');\r\nPromise.promisifyAll(linvodb.Cursor);\r\n```"},"comment":{"url":"https://api.github.com/repos/Ivshti/linvodb3/issues/comments/267130555","html_url":"https://github.com/Ivshti/linvodb3/issues/58#issuecomment-267130555","issue_url":"https://api.github.com/repos/Ivshti/linvodb3/issues/58","id":267130555,"user":{"login":"YurySolovyov","id":2168518,"avatar_url":"https://avatars.githubusercontent.com/u/2168518?v=3","gravatar_id":"","url":"https://api.github.com/users/YurySolovyov","html_url":"https://github.com/YurySolovyov","followers_url":"https://api.github.com/users/YurySolovyov/followers","following_url":"https://api.github.com/users/YurySolovyov/following{/other_user}","gists_url":"https://api.github.com/users/YurySolovyov/gists{/gist_id}","starred_url":"https://api.github.com/users/YurySolovyov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YurySolovyov/subscriptions","organizations_url":"https://api.github.com/users/YurySolovyov/orgs","repos_url":"https://api.github.com/users/YurySolovyov/repos","events_url":"https://api.github.com/users/YurySolovyov/events{/privacy}","received_events_url":"https://api.github.com/users/YurySolovyov/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T19:25:59Z","updated_at":"2016-12-14T19:25:59Z","body":"I'd close this as soon as release is available."}}
{"actor":{"display_login":"YurySolovyov"}}