ABL data type
|
JavaScript data type
|
BLOB1
|
string (Base64 encoded)
|
CHARACTER
|
string
|
CLOB2
|
string
|
COM-HANDLE
|
number
|
DATASET3
|
An Object that maps to a ProDataSet and contains one or more Object instances, each of which maps to an ABL temp-table in the ProDataSet (see TEMP-TABLE)
|
DATE4
|
string (ISO 8601 formatted string of the form "yyyy-mm-dd")
|
DATETIME5
|
string (ISO 8601 formatted string of the form "yyyy-mm-ddThh:mm:ss.sss")
|
DATETIME-TZ6
|
string (ISO 8601 formatted string of the form "yyyy-mm-ddThh:mm:ss.sss+hh:mm")
|
DECIMAL
|
number
|
Where primitive is an ABL primitive data type (not a DATASET or TEMP-TABLE), maps to an Array of the JavaScript primitive data type that maps to the corresponding ABL primitive data type
|
|
HANDLE
|
number
|
INT64
|
number
|
INTEGER
|
number
|
LOGICAL
|
boolean (true or false)
|
LONGCHAR8
|
string
|
MEMPTR9
|
string (Base64 encoded)
|
RAW
|
Not supported
|
RECID
|
Not supported
|
ROWID
|
string (Base64 encoded)
|
TEMP-TABLE10
|
An Object that contains a single Array of Object instances, where each Object in the Array maps to a record in the corresponding temp-table
|
ABL data type
|
Process
|
DATE
|
Output: Client time zone is used. Time is set to 0 (midnight).
Input: Time and time zone information is ignored.
|
DATETIME
|
Output: Client time zone is used.
Input: Time zone information is ignored
|
DATETIME-TZ
|
Output and Input: Date, time, and time zone is preserved.
|