noppoMan / npdynamodb

A Node.js Simple Query Builder and ORM for AWS DynamoDB
112 stars 19 forks source link

make offset function for ExclusiveStartKey #37

Closed noppoMan closed 8 years ago

noppoMan commented 8 years ago

Here is desired syntax.

var lastEvaluatedKey = {hashKey: "foobar", ...};
npd().table("table").where("hashKey", "foo").limit(10).offset(lastEvaluatedKey);