Utilities
DynamoDB-Toolbox exposes the following utility actions for Entities
:
EntityParser
: Given an input of any type and a mode, validates that it respects the schema of theEntity
ConditionParser
: Builds a Condition Expression that can be used to condition write operations, or filter the results of a Query or a ScanPathParser
: Builds a Projection Expression that can be used to filter the returned attributes of a read operation like a GetItem, Query or ScanEntityFormatter
: Given a saved item, validates that it respects the schema of theEntity
and formats itEntitySpy
: Enables spying the providedEntity
EntityRepository
: A utility action that exposes all entity actions as methods