Restrictions
You can directly use instance of this class.
restrictions
Resrictions to constrain the results to be retrieved.
Method Summary
Public Methods | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
isNotEmpty(key: string): Function |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
startsWith(key: string, value: any, caseSensitive: boolean): Function |
Private Methods | ||
private |
|
|
private |
__like(key: string, value: any, fromLeft: boolean, fromRight: boolean, caseSensitive: boolean): Function |
|
private |
__likeWithPercent(key: string, value: any, caseSensitive: boolean): Function |
Public Methods
public and({: *): Function source
Params:
Name | Type | Attribute | Description |
{ | * | ...Function }restrictions |
public between(key: string, startValue: any, endValue: any): Function source
Params:
Name | Type | Attribute | Description |
key | string | ||
startValue | any | ||
endValue | any |
public gt(key: string, value: any): Function source
Params:
Name | Type | Attribute | Description |
key | string | ||
value | any |
public gte(key: string, value: any): Function source
Params:
Name | Type | Attribute | Description |
key | string | ||
value | any |
public lt(key: string, value: any): Function source
Params:
Name | Type | Attribute | Description |
key | string | ||
value | any |
public lte(key: string, value: any): Function source
Params:
Name | Type | Attribute | Description |
key | string | ||
value | any |