Skip to content

BatchProjectedGetConfig

type BatchProjectedGetConfig<Schema, ProjectionSchema> = BaseConfig & object;

Configuration for the BatchProjectedGet command.

optional consistent: boolean;
keys: Partial<EntitySchema<Schema>>[];
projection: Projection;
projectionSchema: ProjectionSchema;

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.