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
- TSchema
Hierarchy (view full)
- Document
- RootFilterOperators
Index
Properties
$and? $comment? $nor? $or? $text? $where?
Properties
Optional
$and
Optional
$comment
$comment?: string | Document
Optional
$nor
Optional
$or
Optional
$text
$text?: {
$caseSensitive?: boolean;
$diacriticSensitive?: boolean;
$language?: string;
$search: string;
}
Optional
$where
$where?: string | ((this: TSchema) => boolean)