Interface RootFilterOperators<TSchema>

Type Parameters

  • TSchema

Hierarchy

Properties

$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;
}

Type declaration

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

Type declaration

    • (this): boolean
    • Parameters

      • this: TSchema

      Returns boolean

Generated using TypeDoc