Skip to content

WriteTransactable

type WriteTransactable<Schema> = object;

Interface-like type for write commands that can be included in a write transaction.

Schema extends ZodObject

The Zod schema type associated with the DynamoEntity.

prepareWriteTransaction(entity): Promise<TransactWriteOperation>;

DynamoEntity<Schema>

Promise<TransactWriteOperation>