noppoMan / npdynamodb

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

make offset function for ExclusiveStartKey #37

Closed noppoMan closed 9 years ago

noppoMan commented 9 years ago

Here is desired syntax.

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