RdbPredicates
|
equalTo(field: string, value: ValueType): RdbPredicates
|
Sets the RdbPredicates to match the field with data type ValueType and value equal to the specified value.
- field: column name in the database table.
- value: value to match the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
notEqualTo(field: string, value: ValueType): RdbPredicates
|
Sets the RdbPredicates to match the field with data type ValueType and value not equal to the specified value.
- field: column name in the database table.
- value: value to match the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
beginWrap(): RdbPredicates
|
Adds a left parenthesis to the RdbPredicates.
- RdbPredicates: RdbPredicates with a left parenthesis.
|
RdbPredicates
|
endWrap(): RdbPredicates
|
Adds a right parenthesis to the RdbPredicates.
- RdbPredicates: RdbPredicates with a right parenthesis.
|
RdbPredicates
|
or(): RdbPredicates
|
Adds the OR condition to the RdbPredicates.
- RdbPredicates: RdbPredicates with the OR condition.
|
RdbPredicates
|
and(): RdbPredicates
|
Adds the AND condition to the RdbPredicates.
- RdbPredicates: RdbPredicates with the AND condition.
|
RdbPredicates
|
contains(field: string, value: string): RdbPredicats
|
Sets the RdbPredicates to match a string containing the specified value.
- field: column name in the database table.
- value: value to match the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
beginsWith(field: string, value: string): RdbPredicates
|
Sets the RdbPredicates to match a string that starts with the specified value.
- field: column name in the database table.
- value: value to match the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
endsWith(field: string, value: string): RdbPredicates
|
Sets the RdbPredicates to match a string that ends with the specified value.
- field: column name in the database table.
- value: value to match the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
isNull(field: string): RdbPredicates
|
Sets the RdbPredicates to match the field whose value is null.
- field: column name in the database table.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
isNotNull(field: string): RdbPredicates
|
Sets the RdbPredicates to match the field whose value is not null.
- field: column name in the database table.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
like(field: string, value: string): RdbPredicates
|
Sets the RdbPredicates to match a string that is similar to the specified value.
- field: column name in the database table.
- value: value to match the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
glob(field: string, value: string): RdbPredicates
|
Sets the RdbPredicates to match the specified string.
- field: column name in the database table.
- value: value to match the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
between(field: string, low: ValueType, high: ValueType): RdbPredicates
|
Sets the RdbPredicates to match the field with data type ValueType and value within the specified range.
- field: column name in the database table.
- low: minimum value that matches the RdbPredicates.
- high: maximum value that matches the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
notBetween(field: string, low: ValueType, high: ValueType): RdbPredicates
|
Sets the RdbPredicates to match the field with data type ValueType and value out of the specified range.
- field: column name in the database table.
- low: minimum value that matches the RdbPredicates.
- high: maximum value that matches the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
greaterThan(field: string, value: ValueType): RdbPredicatesgr
|
Sets the RdbPredicates to match the field with data type ValueType and value greater than the specified value.
- field: column name in the database table.
- value: value to match the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
lessThan(field: string, value: ValueType): RdbPredicates
|
Sets the RdbPredicates to match the field with data type ValueType and value less than the specified value.
- field: column name in the database table.
- value: value to match the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicates
|
Sets the RdbPredicates to match the field with data type ValueType and value greater than or equal to the specified value.
- field: column name in the database table.
- value: value to match the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
lessThanOrEqualTo(field: string, value: ValueType): RdbPredicates
|
Sets the RdbPredicates to match the field with data type ValueType and value less than or equal to the specified value.
- field: column name in the database table.
- value: value to match the RdbPredicates.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
orderByAsc(field: string): RdbPredicates
|
Sets the RdbPredicates to match the column with values sorted in ascending order.
- field: column name in the database table.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
orderByDesc(field: string): RdbPredicates
|
Sets the RdbPredicates to match the column with values sorted in descending order.
- field: column name in the database table.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
distinct(): RdbPredicates
|
Sets the RdbPredicates to filter out duplicate records.
- RdbPredicates: RdbPredicates that can filter out duplicate records.
|
RdbPredicates
|
limitAs(value: number): RdbPredicates
|
Sets the RdbPredicates to specify the maximum number of records to match in a column.
- value: maximum number of records in a column.
- RdbPredicates: RdbPredicates that can be used to set the maximum number of records to match in a column.
|
RdbPredicates
|
offsetAs(rowOffset: number): RdbPredicates
|
Sets the RdbPredicates to specify the start position of the returned result.
- rowOffset: start position of the returned result. The value is a positive integer.
- RdbPredicates: RdbPredicates object that specifies the start position of the returned result.
|
RdbPredicates
|
groupBy(fields: Array<string>): RdbPredicates
|
Sets the RdbPredicates to group rows that have the same value into summary rows.
- fields: names of the columns grouped for querying data.
- RdbPredicates: RdbPredicates that groups rows that have the same value.
|
RdbPredicates
|
indexedBy(indexName: string): RdbPredicates
|
Sets the RdbPredicates object to specify the index column.
- indexName: name of the index column.
- RdbPredicates: RdbPredicates object that specifies the index column.
|
RdbPredicates
|
in(field: string, value: Array<ValueType>): RdbPredicates
|
Sets the RdbPredicates to match the field with data type Array<ValueType> and value within the specified range.
- field: column name in the database table.
- value: array of ValueType to match.
- RdbPredicates: RdbPredicates object that matches the specified field.
|
RdbPredicates
|
notIn(field: string, value: Array<ValueType>): RdbPredicates
|
Sets the RdbPredicates to match the field with data type Array<ValueType> and value out of the specified range.
- field: column name in the database table.
- value: array of ValueType to match.
- RdbPredicates: RdbPredicates object that matches the specified field.
|