Skip to content

ProjectedQueryResult

type ProjectedQueryResult<Schema, ProjectionSchema> = BaseResult & object;

Result of the ProjectedQuery command.

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

Schema extends ZodObject

The Zod schema defining the structure of the entity.

ProjectionSchema extends ZodObject

The Zod schema defining the structure of the projected attributes.