ryanfitz / vogels

DynamoDB data mapper for node.js
Other
698 stars 125 forks source link

Scan on Secondary Indexes #137

Open brianhammons opened 8 years ago

brianhammons commented 8 years ago

Does Vogels allow scans on secondary indexes? This was a functionality that came out last year but I have so far only been able to do the full table scans, instead of scanning along an index.

If it already allows for this, can you provide an example of how it is done?

https://aws.amazon.com/about-aws/whats-new/2015/02/10/secondary-index-scan-a-simpler-way-to-scan-dynamodb-table/

ryanfitz commented 8 years ago

Currently only query supports secondary indexes. This should be relatively straightforward to add, happy to accept a pull request for it.

M1chaelTran commented 7 years ago

It looks like Vogels is dead... hence i've moved to Dynogels.

There's an open PR for this feature: https://github.com/clarkie/dynogels/pull/45 if anyone is intersted