Enums
Auto-generated documentation for dynamo_query.enums module.
DynamoDB related enums.
- dynamo-query / Modules / Dynamo Query / Enums
Operator
class Operator(enum.Enum):
Enum of operator types that can be used as postfixes in ConditionExpression
keys.
Attributes
EQ
- Rendered as=
operator.NE
- Rendered as<>
operator.IN
- Rendered asIN
operator.GT
- Rendered as>
operator.LT
- Rendered as<
operator.GTE
- Rendered as>=
operator.LTE
- Rendered as<=
operator.BEGINS_WITH
- Rendered asbegins_with(<key>, <value>)
function.EXISTS
- Rendered asattribute_exists(<key>)
function.NOT_EXISTS
- Rendered asattribute_not_exists(<key>)
function.BETWEEN
- Rendered asBETWEEN <value1> AND <value2>
operator.CONTAINS
- Rendered ascontains(<key>, <value>)
function.
Operator.values
@classmethod
def values() -> Set[str]:
QueryType
class QueryType(enum.Enum):
Enum of DynamoQuery query types.
Attributes
QUERY
- Used by DynamoQuery.build_query methodSCAN
- Used by DynamoQuery.build_scan methodGET_ITEM
- Used by DynamoQuery.build_get_item methodUPDATE_ITEM
- Used by DynamoQuery.build_update_item methodDELETE_ITEM
- Used by DynamoQuery.build_delete_item methodBATCH_GET_ITEM
- Used by DynamoQuery.build_batch_get_item methodBATCH_UPDATE_ITEM
- Used by DynamoQuery.build_batch_update_item methodBATCH_DELETE_ITEM
- Used by DynamoQuery.build_batch_delete_item method