-
Notifications
You must be signed in to change notification settings - Fork 19
apitabledefinitiondecimal
Troy Murray edited this page Nov 1, 2011
·
3 revisions
Adds a decimal column definition to the table definition object
t.decimal(columnNames[,default,null,precision,scale]);
Parameter | Type | Required | Default | Description |
columnNames | string | Yes | one or more column names, comma delimited | |
default | integer | float | No | default value for column | |
null | boolean | No | whether nulls are allowed | |
precision | number | No | precision value for decimal columns, i.e. number of digits the column can hold | |
scale | integer | No | scale value for decimal columns, i.e. number of digits that can be placed to the right of the decimal point (must be less than or equal to precision) |