Complete the code to check if the attribute 'status' equals 'active' in a DynamoDB conditional expression.
ConditionExpression = "status = [1]"
In DynamoDB conditional expressions, attribute values are referenced using placeholders starting with a colon, like ':active'.
Complete the code to check if the attribute 'age' is greater than 30 in a DynamoDB conditional expression.
ConditionExpression = "age [1] :ageVal"
The '>' operator checks if 'age' is greater than the value of ':ageVal'.
Fix the error in the conditional expression to check if 'score' is less than or equal to 100.
ConditionExpression = "score [1] :maxScore"
The '<=' operator correctly checks if 'score' is less than or equal to ':maxScore'.
Fill both blanks to check if 'status' is 'pending' and 'priority' is greater than 5 in a DynamoDB conditional expression.
ConditionExpression = "status = [1] AND priority [2] :prioVal"
Use ':pending' as the placeholder for 'status' and '>' to check if 'priority' is greater than ':prioVal'.
Fill all three blanks to check if 'category' equals 'books', 'price' is less than 20, and 'inStock' is true in a DynamoDB conditional expression.
ConditionExpression = "category = [1] AND price [2] :maxPrice AND inStock = [3]"
Use ':books' as the placeholder for 'category', '<' for price comparison, and ':true' for the boolean 'inStock'.