-
Notifications
You must be signed in to change notification settings - Fork 18
apitabledefinitiontext
Troy Murray edited this page Sep 19, 2011
·
2 revisions
Adds a text column definition to the table definition object
t.text(columnNames[,default,null]);| Parameter | Type | Required | Default | Description |
| columnNames | string | Yes | one or more column names, comma delimited | |
| default | integer | float | No | NULL | default value for column |
| null | boolean | No | if nulls are allowed |
Some databases may not allow a default value to be set for columns with text data type.