Closed marckaraujo closed 6 years ago
@marckaraujo Are you sure that the result set of this query has more than two items? LastEvaluatedKey
is only returned if there are more results to collect.
I edited the title of the issue for clarity. This is an old issue with not activity so I will close and we can reopen if @marckaraujo responds.
If you use
scan()
withstartKey()
then you'll receiveLastEvaluatedKey
but if you use query() instead thenLastEvaluatedKey
is empty.As described in AWS docs "LastEvaluatedKey is only provided if you have used the Limit parameter, or if the result set exceeds 1 MB (prior to applying a filter)."