Condition
class Condition
Represents the selection criteria for a Query
or Scan
operation:
For a
Query
operation,Condition
is used for specifying theKeyConditions
to use when querying a table or an index. ForKeyConditions
, only the following comparison operators are supported:EQ | LE | LT | GE | GT | BEGINS_WITH | BETWEEN``Condition
is also used in aQueryFilter
, which evaluates the query results and returns only the desired values.For a
Scan
operation,Condition
is used in aScanFilter
, which evaluates the scan results and returns only the desired values.