ConditionCheck class

Represents a request to perform a check that an item exists or to check the condition of specific attributes of the item.

Constructors

ConditionCheck({required String conditionExpression, required Map<String, AttributeValue> key, required String tableName, Map<String, String>? expressionAttributeNames, Map<String, AttributeValue>? expressionAttributeValues, ReturnValuesOnConditionCheckFailure? returnValuesOnConditionCheckFailure})

Properties

conditionExpression String
A condition that must be satisfied in order for a conditional update to succeed.
final
expressionAttributeNames Map<String, String>?
One or more substitution tokens for attribute names in an expression.
final
expressionAttributeValues Map<String, AttributeValue>?
One or more values that can be substituted in an expression.
final
hashCode int
The hash code for this object.
no setterinherited
key Map<String, AttributeValue>
The primary key of the item to be checked. Each element consists of an attribute name and a value for that attribute.
final
returnValuesOnConditionCheckFailure ReturnValuesOnConditionCheckFailure?
Use ReturnValuesOnConditionCheckFailure to get the item attributes if the ConditionCheck condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableName String
Name of the table for the check item request.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited