The data-binding query language implemented by the form language is a custom subset of SQLite.
Apart from the general differences between Mobilengine data-binding and standard SQLite, the set of available functions is also modified. The query language supports a number of standard SQL functions, and extends them with custom functions.
For detailed information on the custom functions, read the dedicated topic for each one in this chapter.
The following core SQL functions are available:
Read the official reference documentation on them here.
The following aggregate SQL functions are supported:
Read the official reference documentation regarding them here.
The boolean data type | |
The dtl data type |
Scalar data type. The date and time in the company-specific time zone. |
The float data type |
Scalar data type. A 64-bit double-precision floating-point number. |
The int data type | |
The record data type |
Composite data type. A collection of one or more scalar values (called fields) in fixed number and sequence. |
The recordset data type | |
The rowset data type |
Composite data type. A collection of zero or more
|
The string data type | |
The toint() function | |
The tofloat() function | |
The tostring() function |
Converts the value of its single numeric parameter to a
|
The todate() function |
Assembles a dtl value with both date and time portions out of datetime components. |
The getyear() function | |
The getmonth() function | |
The getday() function | |
The gethour() function | |
The getminute() function | |
The getsecond() function | |
The addyear() function |
Increases the year portion of a dtl value by a specified number. |
The addmonth() function |
Increases the month portion of a dtl value by a specified number. |
The addday() function |
Increases the day portion of a dtl value by a specified number. |
The addhour() function |
Increases the hour portion of a dtl value by a specified number. |
The addminute() function |
Increases the minute portion of a dtl value by a specified number. |
The addsecond() function |
Increases the second portion of a dtl value by a specified number. |
The startofyear() function |
Resets all but the year portion of a dtl value. |
The startofmonth() function |
Resets the |
The startofday() function |
Resets the |
The formatnumber() function | |
The formatdtl() function |