Skip to content

PreparedBatchGet

type PreparedBatchGet<Schema> = object;

Represents a BatchGet command bound to a specific entity, ready to be included in a table-level TableBatchGet command.

Schema extends ZodObject

The Zod schema type associated with the DynamoEntity.

consistent: boolean;

entity: DynamoEntity<Schema>;

keys: DynamoKey[];

matchItem(item): boolean;

Record<string, unknown>

boolean


matchUnprocessedKey(key):
| Partial<EntitySchema<Schema>>
| undefined;

DynamoKey

| Partial<EntitySchema<Schema>> | undefined


parseResults(items, skipValidation): Promise<EntitySchema<Schema>[]>;

unknown[]

boolean

Promise<EntitySchema<Schema>[]>