Skip to content

apitabledefinitiontime

Troy Murray edited this page Sep 19, 2011 · 2 revisions

time()

Usage

Adds a time column definition to the table definition object

Function Syntax

t.time(columnNames[,default,null]);

Parameters

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

Examples

Notes

Some databases cannot store a time alone and will use a datetime data type instead.

Clone this wiki locally