dynomite icon indicating copy to clipboard operation
dynomite copied to clipboard

Query Limit not being handled by dynomite?

Open samlll42-github opened this issue 6 years ago • 2 comments

Hi all

I am doing a query_page with a queryInput with a limit of Some(1), expecting it return only one item, but I am getting hundreds back. I looked at other library and it seems that limit needs to be handled by the pagination layer (see https://github.com/boto/boto3/issues/1656 for example). Or am I mis understanding this?

Thanks

samlll42-github avatar Dec 11 '19 20:12 samlll42-github

Sorry for the late reply. I can take a look. This crate uses the continuation tokens dynamodb returns to know when there is another page to fetch. I'll take a closer look and see if I cant reproduce the issue

softprops avatar May 15 '20 04:05 softprops

Linking to java impl for reference

softprops avatar May 15 '20 05:05 softprops