QBColumn
Last updated
Last updated
Type | Name | Summary |
---|---|---|
Create abs(column) expression
Type QBColumn
Sample
Create an ascending sort expression
Type QBSort
Sample
Create an aggregate average expression.
Type QBColumn
Sample
Create bit_length(column) expression
Type QBColumn
Sample
Create ceil(column) expression
Type QBColumn
Sample
Create an aggregate count expression.
Type QBColumn
Sample
Extract day from date
Type QBColumn
Sample
Create an descending sort expression
Type QBSort
Sample
Create floor(column) expression
Type QBColumn
Sample
Extract hour from date
Type QBColumn
Sample
Compare column with null.
Type QBCondition
Sample
Create length(column) expression
Type QBColumn
Sample
Create lower(column) expression
Type QBColumn
Sample
Create an aggregate max expression.
Type QBColumn
Sample
Create an aggregate min expression.
Type QBColumn
Sample
Extract minute from date
Type QBColumn
Sample
Extract month from date
Type QBColumn
Sample
Create a negated condition.
Type QBColumn
Sample
Get query builder parent table clause, this may be a query or a join clause.
Type QBTableClause
Sample
Get query builder parent.
Type QBSelect
Sample
Create round(column) expression
Type QBColumn
Sample
Extract second from date
Type QBColumn
Sample
Create sqrt(column) expression
Type QBColumn
Sample
Create an aggregate sum expression.
Type QBColumn
Sample
Create trim(column) expression
Type QBColumn
Sample
Create upper(column) expression
Type QBColumn
Sample
Extract year from date
Type QBColumn
Sample
Compare column to a range of 2 values or other columns.
Parameters
Returns: QBCondition
Sample
Create cast(column, type) expression
Parameters
String type string type, see QUERY_COLUMN_TYPES
Returns: QBColumn
Sample
Concatename with value
Parameters
Object arg valeu to concatenate with
Returns: QBColumn
Sample
Divide by value
Parameters
Object arg nr to divide by
Returns: QBColumn
Sample
Compare column with a value or another column. Operator: equals
Parameters
Object value ;
Returns: QBCondition
Sample
Compare column with a value or another column. Operator: greaterThanOrEqual
Parameters
Object value ;
Returns: QBCondition
Sample
The flags are a bit pattern consisting of 1 or more of the following bits: - JSColumn.UUID_COLUMN - JSColumn.EXCLUDED_COLUMN - JSColumn.TENANT_COLUMN
Returns: Number
Column type as a string
Returns: String
Compare column with a value or another column. Operator: greaterThan
Parameters
Object value ;
Returns: QBCondition
Sample
Compare column with subquery result.
Parameters
QBPart query subquery
Returns: QBCondition
Sample
Compare column with values.
Parameters
Array values array of values
Returns: QBCondition
Sample
Compare column with custom query result.
Parameters
Returns: QBCondition
Sample
Compare column with a value or another column. Operator: lessThanOrEqual
Parameters
Object value ;
Returns: QBCondition
Sample
Compare column with a value or another column. Operator: like
Parameters
Object pattern the string value of the pattern
Returns: QBCondition
Sample
Compare column with a value or another column. Operator: like, with escape character
Parameters
Returns: QBCondition
Sample
Create locate(arg) expression
Parameters
Object arg string to locate
Returns: QBColumn
Sample
Create locate(arg, start) expression
Parameters
Returns: QBColumn
Sample
Compare column with a value or another column. Operator: lessThan
Parameters
Object value ;
Returns: QBCondition
Sample
Subtract value
Parameters
Object arg nr to subtract
Returns: QBColumn
Sample
Create mod(arg) expression
Parameters
Object arg mod arg
Returns: QBColumn
Sample
Multiply with value
Parameters
Object arg nr to multiply with
Returns: QBColumn
Sample
Create nullif(arg) expression
Parameters
Object arg object to compare
Returns: QBColumn
Sample
Add up value
Parameters
Object arg nr to add
Returns: QBColumn
Sample
Create substring(pos) expression
Parameters
Number pos ;
Returns: QBColumn
Sample
Create substring(pos, len) expression
Parameters
Returns: QBColumn
Sample
Type | Name | Summary |
---|---|---|
Create abs(column) expression
Create an ascending sort expression
Create an aggregate average expression.
Create bit_length(column) expression
Create ceil(column) expression
Create an aggregate count expression.
Extract day from date
Create an descending sort expression
Create floor(column) expression
Extract hour from date
Compare column with null.
Create length(column) expression
Create lower(column) expression
Create an aggregate max expression.
Create an aggregate min expression.
Extract minute from date
Extract month from date
Create a negated condition.
Get query builder parent table clause, this may be a query or a join clause.
Get query builder parent.
Create round(column) expression
Extract second from date
Create sqrt(column) expression
Create an aggregate sum expression.
Create trim(column) expression
Create upper(column) expression
Extract year from date
Compare column to a range of 2 values or other columns.
Create cast(column, type) expression
Concatename with value
Divide by value
Compare column with a value or another column.
Compare column with a value or another column.
The flags are a bit pattern consisting of 1 or more of the following bits: - JSColumn.
Column type as a string
Compare column with a value or another column.
Compare column with subquery result.
Compare column with values.
Compare column with custom query result.
Compare column with a value or another column.
Compare column with a value or another column.
Compare column with a value or another column.
Create locate(arg) expression
Create locate(arg, start) expression
Compare column with a value or another column.
Subtract value
Create mod(arg) expression
Multiply with value
Create nullif(arg) expression
Add up value
Create substring(pos) expression
Create substring(pos, len) expression