Complete the code to update an attribute named 'status' to 'active' in DynamoDB.
UpdateExpression='SET status = [1]'
In DynamoDB UpdateExpression, string values must be enclosed in single quotes.
Complete the code to increment the 'count' attribute by 1 using DynamoDB UpdateExpression.
UpdateExpression='SET count = count [1] :inc'
The '+' operator increments the attribute value in DynamoDB UpdateExpression.
Fix the error in the UpdateExpression to remove the attribute 'obsolete'.
UpdateExpression='REMOVE [1]'
In REMOVE clause, attribute names are used without quotes or placeholders unless reserved words.
Fill both blanks to set 'score' to 100 and remove 'temp' attribute in one update.
UpdateExpression='SET [1] = :val REMOVE [2]'
Use 'SET score = :val' to update score and 'REMOVE temp' to delete temp attribute.
Fill all three blanks to add 5 to 'points', set 'level' to 3, and remove 'expired' attribute.
UpdateExpression='SET [1] = [1] [2] :inc, [3] = :lvl REMOVE expired'
Increment 'points' by 5 using '+ :inc', set 'level' to :lvl, and remove 'expired'.