-
Notifications
You must be signed in to change notification settings - Fork 19
apitabledefinitiondecimal
Troy Murray edited this page Sep 15, 2011
·
3 revisions
Adds a decimal column definition to the table definition object
t.decimal(columnNames[,default,null,precision,scale]);
Parameter Required Default Description columnNames Yes one or more column names, camelCase recommended, comma delimited default No default value for column null No boolean, whether nulls are allowed precision No number, precision value for decimal columns, i.e. number of digits the column can hold scale No number, 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)