This website uses cookies to ensure you get the best experience.
Learn more.
A DynamoDB Query returns a LastEvaluatedKey. The application needs every matching item, including when a page has few returned records. What should the developer do?
Published
- Replace the query with a full-table scan and ignore scan pagination.
- Stop whenever one page contains fewer records than the requested limit.
- Continue using LastEvaluatedKey as ExclusiveStartKey until no continuation key remains.
- Restart from the beginning for every page without an exclusive start key.
Comments — 0
Sign in to comment