ConditionalOperator (legacy) - Amazon DynamoDB (original) (raw)
Note
We recommend that you use the new expression parameters instead of these legacy parameters whenever possible. For more information, see Using expressions in DynamoDB.
The legacy conditional parameter ConditionalOperator
is a logical operator used to apply to the conditions in a Expected
,QueryFilter
or ScanFilter
map:
- AND - If all of the conditions evaluate to true, then the entire map evaluates to true.
- OR - If at least one of the conditions evaluates to true, then the entire map evaluates to true.
If you omit ConditionalOperator
, then AND
is the default.
The operation will succeed only if the entire map evaluates to true.
Note
This parameter does not support attributes of type List or Map.
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.