Interface RootFilterOperators<TSchema>

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

Type Parameters

  • TSchema

Hierarchy (view full)

Properties

$comment?: string | mongoose.mongo.BSON.Document
$text?: {
    $caseSensitive?: boolean;
    $diacriticSensitive?: boolean;
    $language?: string;
    $search: string;
}

Type declaration

  • Optional $caseSensitive?: boolean
  • Optional $diacriticSensitive?: boolean
  • Optional $language?: string
  • $search: string
$where?: string | ((this) => boolean)

Type declaration

    • (this): boolean
    • Parameters

      Returns boolean