DynamoDB ProjectionExpression exclude attribute (all fields except one)

0

I have a requirement where my dynamodb table has many attributes, and i need all of them in the projection expression except one or two columns which i dont need in response. (I am scanning the table).
Is there a way how can i define this in ProjectionExpression (all except this one column).
I have seen examples where ProjectionExpression only takes what all "is required" and not the other way.

質問済み 5年前1337ビュー
1回答
0

There is not an "all but X attributes" type of filter or syntax for projections, you have to list out all the attributes you want to project if you only want a subset.

回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ