AWS - DynamoDB
You want to update a user's email in DynamoDB only if the user exists. Which operation and condition should you use?
put with a condition expression that checks for the user's existence.attribute_exists(userId) ensures the item exists before updating, preventing overwriting non-existing items.put with a condition expression checking attribute_exists(userId) -> Option D15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions