ProjectedQueryResult
type ProjectedQueryResult<Schema, ProjectionSchema> = BaseResult & object;Result of the ProjectedQuery command.
Type Declaration
Section titled “Type Declaration”count: number;items: EntitySchema<ProjectionSchema>[];lastEvaluatedKey?
Section titled “lastEvaluatedKey?”optional lastEvaluatedKey: Partial<EntitySchema<Schema>>;scannedCount
Section titled “scannedCount”scannedCount: number;Type Parameters
Section titled “Type Parameters”Schema
Section titled “Schema”Schema extends ObjectLikeZodType
The Zod schema defining the structure of the entity.
ProjectionSchema
Section titled “ProjectionSchema”ProjectionSchema extends ObjectLikeZodType
The Zod schema defining the structure of the projected attributes.