- Preparing search index...
- The search index is not available
Deepkit
Type alias QuerySelector<T>
Query
Selector
<T>: { $all
?: T extends (infer U
)[] ? any[] : never; $bitsAllClear
?: BitwiseQuery; $bitsAllSet
?: BitwiseQuery; $bitsAnyClear
?: BitwiseQuery; $bitsAnySet
?: BitwiseQuery; $elemMatch
?: T extends (infer U
)[] ? object : never; $eq
?: T; $exists
?: boolean; $expr
?: any; $geoIntersects
?: { $geometry
: object; }; $geoWithin
?: object; $gt
?: T; $gte
?: T; $in
?: T[]; $jsonSchema
?: any; $lt
?: T; $lte
?: T; $maxDistance
?: number; $mod
?: T extends number ? [number, number] : never; $ne
?: T; $near
?: object; $nearSphere
?: object; $nin
?: T[]; $not
?: T extends string ? QuerySelector<T> | RegExp : QuerySelector<T>; $options
?: T extends string ? string : never; $parameter
?: string; $regex
?: T extends string ? RegExp | string : never; $size
?: T extends (infer U
)[] ? number : never; $type
?: number | BSONTypeAlias; }
Type declaration
-
Optional
$all?: T extends (infer U)[] ? any[] : never
-
Optional
$bitsAllClear?: BitwiseQuery
-
Optional
$bitsAllSet?: BitwiseQuery
-
Optional
$bitsAnyClear?: BitwiseQuery
-
Optional
$bitsAnySet?: BitwiseQuery
-
Optional
$elemMatch?: T extends (infer U)[] ? object : never
-
Optional
$eq?: T
-
Optional
$exists?: boolean
-
Optional
$expr?: any
-
Optional
$geoIntersects?: {
$geometry: object;
}
-
Optional
$geoWithin?: object
-
Optional
$gt?: T
-
Optional
$gte?: T
-
Optional
$in?: T[]
-
Optional
$jsonSchema?: any
-
Optional
$lt?: T
-
Optional
$lte?: T
-
Optional
$maxDistance?: number
-
Optional
$mod?: T extends number ? [number, number] : never
-
Optional
$ne?: T
-
Optional
$near?: object
-
Optional
$nearSphere?: object
-
Optional
$nin?: T[]
-
Optional
$not?: T extends string ? QuerySelector<T> | RegExp : QuerySelector<T>
-
Optional
$options?: T extends string ? string : never
-
Optional
$parameter?: string
-
Optional
$regex?: T extends string ? RegExp | string : never
-
Optional
$size?: T extends (infer U)[] ? number : never
-
Optional
$type?: number | BSONTypeAlias
https://docs.mongodb.com/manual/reference/operator/query/#query-selectors