Skip to content

ScanResult

type ScanResult<Schema> = BaseResult & object;

Result of the Scan command.

count: number;
items: EntitySchema<Schema>[];
optional lastEvaluatedKey: Partial<EntitySchema<Schema>>;
scannedCount: number;

Schema extends ZodObject

The Zod schema defining the structure of the entity.