ProjectedQueryConfig
type ProjectedQueryConfig<Schema, ProjectionSchema> = QueryConfig<Schema> & object;Configuration for the ProjectedQuery command.
Type Declaration
Section titled “Type Declaration”projection
Section titled “projection”projection: Projection;projectionSchema
Section titled “projectionSchema”projectionSchema: ProjectionSchema;Type Parameters
Section titled “Type Parameters”Schema
Section titled “Schema”Schema extends ZodObject
The Zod schema defining the structure of the entity.
ProjectionSchema
Section titled “ProjectionSchema”ProjectionSchema extends ZodObject
The Zod schema defining the structure of the projected attributes.