Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Limit not being handled by dynomite? #93

Open
samlll42-github opened this issue Dec 11, 2019 · 2 comments
Open

Query Limit not being handled by dynomite? #93

samlll42-github opened this issue Dec 11, 2019 · 2 comments

Comments

@samlll42-github
Copy link

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 boto/boto3#1656 for example). Or am I mis understanding this?

Thanks

@softprops
Copy link
Owner

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
Copy link
Owner

Linking to java impl for reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants