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

Provide abstraction over ScannedCount and Count information in the amano.Cursor #7

Open
dkraczkowski opened this issue Sep 24, 2022 · 0 comments
Labels
Milestone

Comments

@dkraczkowski
Copy link
Contributor

Description

At the moment count in cursor is calculated by retrieving all the items from dynamodb. We could optimise this behaviour by utilising ScannedCount and Count information: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.html#Query.Count

Additionally we could abstract all the informations returned by dynamodb and provide it back to user.

References

  • amano.Cursor.count
  • amano.Cursor
@dkraczkowski dkraczkowski added this to the 1.0.0 milestone Sep 24, 2022
@dkraczkowski dkraczkowski changed the title Provide abstraction over ScannedCount and Count information in the amano.Curosor Provide abstraction over ScannedCount and Count information in the amano.Cursor Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant