-
Notifications
You must be signed in to change notification settings - Fork 18
apitabledefinitionstring
Troy Murray edited this page Sep 19, 2011
·
2 revisions
Adds a string column definition to the table definition object
t.string(columnNames[,default,null,limit]);| 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 | |
| limit | integer | No | character size limit for column |
t.string(columnNames="familyname",default="",null=true,limit="255");Please check your database documentation for maximum limits for string (VARCHAR) data types.