Home Manual Reference Source Test Repository
public class | source

Restrictions

You can directly use instance of this class. restrictions

Resrictions to constrain the results to be retrieved.

Method Summary

Public Methods
public

and({: *): Function

public

between(key: string, startValue: any, endValue: any): Function

public

contains(key: string, value: any, caseSensitive: boolean): Function

public

endsWith(key: string, value: any, caseSensitive: boolean): Function

public

eq(key: string, value: any, caseSensitive: boolean): Function

public

gt(key: string, value: any): Function

public

gte(key: string, value: any): Function

public

in(key: string, values: Array<any>, caseSensitive: boolean): Function

public
public
public
public
public

like(key: string, value: any, caseSensitive: boolean): Function

public

lt(key: string, value: any): Function

public

lte(key: string, value: any): Function

public

op(op: string, key: string, value: any): Function

public

or({: *): Function

public

startsWith(key: string, value: any, caseSensitive: boolean): Function

Private Methods
private

__eq(key: string, value: any, caseSensitive: boolean): Function

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:

NameTypeAttributeDescription
{ *

...Function }restrictions

Return:

Function

public between(key: string, startValue: any, endValue: any): Function source

Params:

NameTypeAttributeDescription
key string
startValue any
endValue any

Return:

Function

public contains(key: string, value: any, caseSensitive: boolean): Function source

Params:

NameTypeAttributeDescription
key string
value any
caseSensitive boolean

Return:

Function

public endsWith(key: string, value: any, caseSensitive: boolean): Function source

Params:

NameTypeAttributeDescription
key string
value any
caseSensitive boolean

Return:

Function

public eq(key: string, value: any, caseSensitive: boolean): Function source

Params:

NameTypeAttributeDescription
key string
value any
caseSensitive boolean

Return:

Function

public gt(key: string, value: any): Function source

Params:

NameTypeAttributeDescription
key string
value any

Return:

Function

public gte(key: string, value: any): Function source

Params:

NameTypeAttributeDescription
key string
value any

Return:

Function

public in(key: string, values: Array<any>, caseSensitive: boolean): Function source

Params:

NameTypeAttributeDescription
key string
values Array<any>
caseSensitive boolean

Return:

Function

public isEmpty(key: string): Function source

Params:

NameTypeAttributeDescription
key string

Return:

Function

public isNotEmpty(key: string): Function source

Params:

NameTypeAttributeDescription
key string

Return:

Function

public isNotNull(key: string): Function source

Params:

NameTypeAttributeDescription
key string

Return:

Function

public isNull(key: string): Function source

Params:

NameTypeAttributeDescription
key string

Return:

Function

public like(key: string, value: any, caseSensitive: boolean): Function source

Params:

NameTypeAttributeDescription
key string
value any
caseSensitive boolean

Return:

Function

public lt(key: string, value: any): Function source

Params:

NameTypeAttributeDescription
key string
value any

Return:

Function

public lte(key: string, value: any): Function source

Params:

NameTypeAttributeDescription
key string
value any

Return:

Function

public op(op: string, key: string, value: any): Function source

Params:

NameTypeAttributeDescription
op string
key string
value any

Return:

Function

public or({: *): Function source

Params:

NameTypeAttributeDescription
{ *

...Function }restrictions

Return:

Function

public startsWith(key: string, value: any, caseSensitive: boolean): Function source

Params:

NameTypeAttributeDescription
key string
value any
caseSensitive boolean

Return:

Function

Private Methods

private __eq(key: string, value: any, caseSensitive: boolean): Function source

Params:

NameTypeAttributeDescription
key string
value any
caseSensitive boolean

Return:

Function

private __like(key: string, value: any, fromLeft: boolean, fromRight: boolean, caseSensitive: boolean): Function source

Params:

NameTypeAttributeDescription
key string
value any
fromLeft boolean
fromRight boolean
caseSensitive boolean

Return:

Function

private __likeWithPercent(key: string, value: any, caseSensitive: boolean): Function source

Params:

NameTypeAttributeDescription
key string
value any
caseSensitive boolean

Return:

Function