AWS SDK for .NET Documentation
Condition Class
AmazonAmazon.DynamoDB.ModelCondition Did this page help you?   Yes   No    Tell us about it...
Condition
Declaration Syntax
C#
public class Condition
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Condition()()()()
Initializes a new instance of the Condition class

AttributeValueList
A list of attribute values to be used with a comparison operator for a scan or query operation. For comparisons that require more than one value, such as a BETWEEN comparison, the AttributeValueList contains two attribute values and the comparison operator.

ComparisonOperator
A comparison operator is an enumeration of several operations:
  • EQ for equal.
  • NE for not equal.
  • IN checks for exact matches.
  • LE for less than or equal to.
  • LT for less than.
  • GE for greater than or equal to.
  • GT for greater than.
  • BETWEEN for between.
  • NOT_NULL for exists.
  • NULL for not exists.
  • CONTAINS for substring or value in a set.
  • NOT_CONTAINS for absence of a substring or absence of a value in a set.
  • BEGINS_WITH for a substring prefix.
Scan operations support all available comparison operators. Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.

Constraints:

Allowed Values
EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAttributeValueList(array<AttributeValue>[]()[][]) Obsolete.
Adds elements to the AttributeValueList collection

WithAttributeValueList(IEnumerable<(Of <<'(AttributeValue>)>>)) Obsolete.
Adds elements to the AttributeValueList collection

WithComparisonOperator(String) Obsolete.
Sets the ComparisonOperator property

Inheritance Hierarchy
Object
Condition

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)