ParamBuilder
Constructor Summary
Public Constructor | ||
public |
constructor(filter: FilterBuilder) |
Member Summary
Private Members | ||
private |
_filter: * |
Method Summary
Public Methods | ||
public |
between(valFrom: *, valTo: *): * True if the value is between the two specified values greater than or equal to first value and less than or equal to second value. |
|
public |
eq(value: *): FilterBuilder Equivalence |
|
public |
Numerical greather than (>) Valid for numberical and date values. |
|
public |
Numerical greater than of equal (>=) Valid for numberical and date values. |
|
public |
inq(values: *): * In an array of values. |
|
public |
LIKE operators for use with regular expressions |
|
public |
Numerical less than (<) Valid only for numerical and date values. |
|
public |
Numerical less than or equal (<=) Valid only for numerical and date values. |
|
public |
For geolocations, return the closest points, sorted in order of distance. |
|
public |
neq(value: *): * Not equal (!=) |
|
public |
nin(values: *): * Not in an array of values. |
|
public |
NOT LIKE operators for use with regular expressions |
|
public |
Regular expression |
Private Methods | ||
private |
_setValue(value: *) Sets the value to the filter builder |
Public Constructors
public constructor(filter: FilterBuilder) source
Params:
Name | Type | Attribute | Description |
filter | FilterBuilder |
Private Members
private _filter: * source
Public Methods
public between(valFrom: *, valTo: *): * source
True if the value is between the two specified values greater than or equal to first value and less than or equal to second value.
Params:
Name | Type | Attribute | Description |
valFrom | * | ||
valTo | * |
Return:
* |
public gt(value: string | number | Date): * source
Numerical greather than (>) Valid for numberical and date values. For Geopoint values, the units are in miles by default.
Return:
* |
public gte(value: string | number | Date): * source
Numerical greater than of equal (>=) Valid for numberical and date values. For Geopoint values, the units are in miles by default.
Return:
* |
public inq(values: *): * source
In an array of values.
Params:
Name | Type | Attribute | Description |
values | * |
Return:
* |
public like(value: string): * source
LIKE operators for use with regular expressions
Params:
Name | Type | Attribute | Description |
value | string |
Return:
* |
public lt(value: string | number | Date): * source
Numerical less than (<) Valid only for numerical and date values. For Geopoint values, the units are in miles by default.
Return:
* |
public lte(value: string | number | Date): * source
Numerical less than or equal (<=) Valid only for numerical and date values. For Geopoint values, the units are in miles by default.
Return:
* |
public near(near: string, maxDistance: number, unit: string): * source
For geolocations, return the closest points, sorted in order of distance. Use with limit to return the n closest points. maxDistance and unit can also be passed on same level as near to configure the search.
Return:
* |
public neq(value: *): * source
Not equal (!=)
Params:
Name | Type | Attribute | Description |
value | * |
Return:
* |
public nin(values: *): * source
Not in an array of values.
Params:
Name | Type | Attribute | Description |
values | * |
Return:
* |
public nlike(value: string): * source
NOT LIKE operators for use with regular expressions
Params:
Name | Type | Attribute | Description |
value | string |
Return:
* |
public regexp(regexp: string): * source
Regular expression
Params:
Name | Type | Attribute | Description |
regexp | string |
Return:
* |
Private Methods
private _setValue(value: *) source
Sets the value to the filter builder
Params:
Name | Type | Attribute | Description |
value | * |