Skip to content

ScanConfig

type ScanConfig<Schema> = BaseConfig & object;

Configuration for the Scan command.

optional consistent: boolean;
optional exclusiveStartKey: Partial<EntitySchema<Schema>>;
optional filter: Condition;
optional indexName: string;
optional limit: number;
optional pageSize: number;
optional segment: number;
optional selectAttributes: Select;
optional totalSegments: number;
optional validationConcurrency: number;

Schema extends ZodObject

The Zod schema defining the structure of the entity.