Variable CountSchemaConst

CountSchema: ZodObject<{
    total: ZodNumber;
    where: ZodNumber;
    count: ZodNumber;
}, "strip", ZodTypeAny, {
    where: number;
    total: number;
    count: number;
}, {
    where: number;
    total: number;
    count: number;
}> = ...

Count result schema.

Type declaration

  • total: ZodNumber

    Maximum number of items in the collection (without filters).

  • where: ZodNumber

    Number of items in the collection (with "where" filter).

  • count: ZodNumber

    Current count of items using "filter" (and "where").

Type declaration

  • where: number

    Number of items in the collection (with "where" filter).

  • total: number

    Maximum number of items in the collection (without filters).

  • count: number

    Current count of items using "filter" (and "where").

Type declaration

  • where: number

    Number of items in the collection (with "where" filter).

  • total: number

    Maximum number of items in the collection (without filters).

  • count: number

    Current count of items using "filter" (and "where").