Interface IOnElementQuery

interface IOnElementQuery {
    collection: string;
    criteria?: {
        [key: string]:
            | null
            | string
            | number
            | string[]
            | DateQuery
            | IDateGteCriterion
            | IDateLtCriterion
            | IDateLteCriterion
            | ILocationCriterion
            | { $ne: string }
            | { $near: Record<string, unknown> }
            | IOnElementQuery;
    } & {
        $or?: (
            ({ [key: string]: string | number | string[] | DateQuery | IDateGteCriterion | IDateLtCriterion | IDateLteCriterion | ... 4 more ... | null; } & { ...; }) | undefined
        )[];
    };
    type: "relation"
    | "reference";
}

Properties

collection: string
criteria?: {
    [key: string]:
        | null
        | string
        | number
        | string[]
        | DateQuery
        | IDateGteCriterion
        | IDateLtCriterion
        | IDateLteCriterion
        | ILocationCriterion
        | { $ne: string }
        | { $near: Record<string, unknown> }
        | IOnElementQuery;
} & {
    $or?: (
        ({ [key: string]: string | number | string[] | DateQuery | IDateGteCriterion | IDateLtCriterion | IDateLteCriterion | ... 4 more ... | null; } & { ...; }) | undefined
    )[];
}
type: "relation" | "reference"