RootFilterOperators | mongodb (original) (raw)

Interface RootFilterOperators

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

Hierarchy (view full)

Index

Properties

$and? $comment? $nor? $or? $text? $where?

Properties

Optional$and

$and?: Filter<TSchema>[]

Optional$comment

$comment?: string | Document

Optional$nor

$nor?: Filter<TSchema>[]

Optional$or

$or?: Filter<TSchema>[]

Optional$text

$text?: {
$caseSensitive?: boolean;
$diacriticSensitive?: boolean;
$language?: string;
$search: string;
}

Optional$where

$where?: string | ((this: TSchema) => boolean)