-
Notifications
You must be signed in to change notification settings - Fork 19
apitabledefinitiondate
Troy Murray edited this page Sep 19, 2011
·
2 revisions
Adds a date column definition to the table definition object
t.date(columnNames[,default,null]);
Parameter | Type | Required | Default | Description |
columnNames | string | Yes | one or more column names, comma delimited | |
default | string | integer | No | default value for column | |
null | boolean | No | whether nulls are allowed |
Some databases cannot store a date alone and will use a datetime data type instead.