2回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
You can specify multiple filters using a FilterExpression
, however it is highly in-efficient and best to be avoided:
FilterExpression="specifictag=123 AND specifictime=92487109247"
To make things more efficient you can make use of overloading your keys, or using composite keys. For example, if you always want to filter based on the same attributes in order, then you can define your schema to suit that. This makes our query calls highly efficient, but can take some thought to get the schema design correct
pk | sk | data |
---|---|---|
user123 | dynamodb#2022-10-21#Ireland | Data |
KeyConditionExpression="pk=user123 AND sk=dynamodb#2022-10-21#Ireland"
関連するコンテンツ
- AWS公式更新しました 9ヶ月前
- AWS公式更新しました 2年前
- AWS公式更新しました 1年前
- AWS公式更新しました 7ヶ月前
Please describe instead of attaching link