Interface RootFilterOperators<TSchema>

interface RootFilterOperators<TSchema> {
    $and?: Filter<TSchema>[];
    $comment?: string | Document;
    $nor?: Filter<TSchema>[];
    $or?: Filter<TSchema>[];
    $text?: {
        $caseSensitive?: boolean;
        $diacriticSensitive?: boolean;
        $language?: string;
        $search: string;
    };
    $where?: string | ((this: TSchema) => boolean);
}

Type Parameters

  • TSchema

Hierarchy (view full)

Properties

$and?: Filter<TSchema>[]
$comment?: string | Document
$nor?: Filter<TSchema>[]
$or?: Filter<TSchema>[]
$text?: {
    $caseSensitive?: boolean;
    $diacriticSensitive?: boolean;
    $language?: string;
    $search: string;
}
$where?: string | ((this: TSchema) => boolean)