...
Element name | Element type | Description |
---|---|---|
type | String | There are the following types available in Profound.js
Some config elements only apply to certain types. |
length | Number | Required on all types other than
|
decimals | Number | Required on types
|
varying | Boolean | Available to char type. |
initValue | String/Number/Boolean | Available to all data types. |
dim | Number | Available to all data types. Using dim makes your field into an array. Arrays are 1-indexed. |
orderby | String | Available to all types when dim element is used. Either of these values are required:
|
elements | Object | Required when using data-structure type. Read about data-structures below. |
qualified | Boolean | Available when using data structure type. |
special | String | Available to data-structure subfields. Acceptable values are: PSDS
INFDS
|
nullable | Boolean / String | Available to all data types, except from the data-structure type. Only use this attribute if you this field to be null-capable.
|
likerec | Object | Available when using data structure type. This object requires two elements.
|
dataArea | String | Available to all data types, except from the pointer type. String pointing to data-area object. Example values:
|
Examples
Example 1: packed decimal
...