Chandz
Chandz

Reputation: 1233

How can I retrieve all the values from a particular column in amazon DynamoDB?

For example, if my Question table has columns question_id, options,timestamp, I must retrieve all the values of only 'question_id'.

Is it possible?

Upvotes: 1

Views: 4139

Answers (1)

Mingliang Liu
Mingliang Liu

Reputation: 5777

First, you need a Scan operation to read all the items regardless of any key value.

Second, you can use a projection expression to specify particular columns of the returned values from server side (to save network bandwidth). See documentation page.

Upvotes: 2

Related Questions