clarkie / dynogels

DynamoDB data mapper for node.js. Originally forked from https://github.com/ryanfitz/vogels
Other
490 stars 110 forks source link

When the limit is the same from the table rows total number #106

Closed ricardodantas closed 6 years ago

ricardodantas commented 6 years ago

Hi folks,

I'm facing this situation: If limit has the same number from the table rows it returns the LastEvaluatedKey parameter.

Is this a Dynogels bug or a DynamoDB behavior?

Thanks in advanced.

cdhowie commented 6 years ago

Dynogels doesn't touch this parameter on the way through. It comes straight from DynamoDB. Nothing we can do about it without making an extra query/scan call to see if there are any more rows.