{"action":"created","issue":{"url":"https://api.github.com/repos/vsco/domino/issues/38","repository_url":"https://api.github.com/repos/vsco/domino","labels_url":"https://api.github.com/repos/vsco/domino/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/vsco/domino/issues/38/comments","events_url":"https://api.github.com/repos/vsco/domino/issues/38/events","html_url":"https://github.com/vsco/domino/issues/38","id":326513733,"number":38,"title":"How to get LastEvaluatedKey","user":{"login":"Arttii","id":2163944,"avatar_url":"https://avatars0.githubusercontent.com/u/2163944?v=4","gravatar_id":"","url":"https://api.github.com/users/Arttii","html_url":"https://github.com/Arttii","followers_url":"https://api.github.com/users/Arttii/followers","following_url":"https://api.github.com/users/Arttii/following{/other_user}","gists_url":"https://api.github.com/users/Arttii/gists{/gist_id}","starred_url":"https://api.github.com/users/Arttii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arttii/subscriptions","organizations_url":"https://api.github.com/users/Arttii/orgs","repos_url":"https://api.github.com/users/Arttii/repos","events_url":"https://api.github.com/users/Arttii/events{/privacy}","received_events_url":"https://api.github.com/users/Arttii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-25T12:58:00Z","updated_at":"2018-05-25T19:50:58Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI cannot seem to figure out how to get access to LastEvaluatedKey, to be able to resume the query to do pagination in an api for a range query.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/vsco/domino/issues/comments/392162521","html_url":"https://github.com/vsco/domino/issues/38#issuecomment-392162521","issue_url":"https://api.github.com/repos/vsco/domino/issues/38","id":392162521,"user":{"login":"Arttii","id":2163944,"avatar_url":"https://avatars0.githubusercontent.com/u/2163944?v=4","gravatar_id":"","url":"https://api.github.com/users/Arttii","html_url":"https://github.com/Arttii","followers_url":"https://api.github.com/users/Arttii/followers","following_url":"https://api.github.com/users/Arttii/following{/other_user}","gists_url":"https://api.github.com/users/Arttii/gists{/gist_id}","starred_url":"https://api.github.com/users/Arttii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arttii/subscriptions","organizations_url":"https://api.github.com/users/Arttii/orgs","repos_url":"https://api.github.com/users/Arttii/repos","events_url":"https://api.github.com/users/Arttii/events{/privacy}","received_events_url":"https://api.github.com/users/Arttii/received_events","type":"User","site_admin":false},"created_at":"2018-05-25T19:50:57Z","updated_at":"2018-05-25T19:50:57Z","author_association":"NONE","body":"Thanks for the reply. How does that work out for request response type of usecaseses though.\n\nSay I'm running this in lambda and serving a frontend. How would the channel  fit that usecase? Conceptually if there's the results functiin, should it also expose this type of results? Or I'm just misunderstanding the concept?\n________________________________\nFrom: Naveen Gattu <notifications@github.com>\nSent: Friday, May 25, 2018 9:38:45 PM\nTo: vsco/domino\nCc: Arttii; Author\nSubject: Re: [vsco/domino] How to get LastEvaluatedKey (#38)\n\n\nHello. The LastEvaluatedKey isn't exposed on purpose, a the intent was to abstract paging away from consumers. Instead you can use the StreamWithChannel function to stream results: https://github.com/vsco/domino#streaming-results---allows-for-lazy-data-fetching-and-consuming\n\nPlease let me know if this does/doesn't suit your needs. Thanks!\n\n—\nYou are receiving this because you authored the thread.\nReply to this email directly, view it on GitHub<https://github.com/vsco/domino/issues/38#issuecomment-392159828>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ACEE6PdGQSsRdglHVoFbPw3ZnSpzTZ2uks5t2F3FgaJpZM4UN7qJ>.\n"}}
{"actor":{"display_login":"Arttii"}}