noppoMan / npdynamodb

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

How to get all records in the table #55

Closed vinodhum closed 7 years ago

vinodhum commented 7 years ago

How to run Scan query using orm ?

noppoMan commented 7 years ago

You can get all records with all. Internally all is an alias of scan.

npd().table('foo').all()

Try this!

vinodhum commented 7 years ago

it worked thanx