Constructors
constructor
- new WhereQuery(parent: Query, key: string, logicalOperator?: string): WhereQuery
- new WhereQuery(parent: Query, key: string, logicalOperator?: string): WhereQuery
-
Parameters
-
-
key: string
-
Default value logicalOperator: string = "$and"
-
Parameters
-
-
key: string
-
Optional logicalOperator: string
Properties
logicalOperator
logicalOperator: string
Methods
eq
- eq(value: boolean | number | string): any
- eq(value: boolean | number | string): any
-
Parameters
-
value: boolean | number | string
Returns any
-
Parameters
-
value: boolean | number | string
Returns any
exists
- exists(value?: boolean): any
- exists(value?: boolean): any
-
Parameters
-
Default value value: boolean = true
Returns any
-
Parameters
Returns any
gt
- gt(value: number): any
- gt(value: number): any
-
Parameters
Returns any
-
Parameters
Returns any
gte
- gte(value: number): any
- gte(value: number): any
-
Parameters
Returns any
-
Parameters
Returns any
in
- in(value: (string | number | false | true)[] | boolean | string | number): any
- in(value: (string | number | false | true)[] | boolean | string | number): any
-
Parameters
-
value: (string | number | false | true)[] | boolean | string | number
Returns any
-
Parameters
-
value: (string | number | false | true)[] | boolean | string | number
Returns any
lt
- lt(value: number): any
- lt(value: number): any
-
Parameters
Returns any
-
Parameters
Returns any
lte
- lte(value: number): any
- lte(value: number): any
-
Parameters
Returns any
-
Parameters
Returns any
ne
- ne(value: boolean | number | string): any
- ne(value: boolean | number | string): any
-
Parameters
-
value: boolean | number | string
Returns any
-
Parameters
-
value: boolean | number | string
Returns any
nin
- nin(value: (string | number | false | true)[]): any
- nin(value: (string | number | false | true)[]): any
-
Parameters
-
value: (string | number | false | true)[]
Returns any
-
Parameters
-
value: (string | number | false | true)[]
Returns any