Skip to content

apitabledefinitioninteger

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

integer()

Usage

Adds a integer column definition to the table definition object

Function Syntax

t.integer(columnNames[,default,null,limit]);

Parameters

Parameter Type Required Default Description
columnNames string Yes one or more column names, comma delimited
default integer | float No default value for column
null boolean No whether nulls are allowed
limit integer No integer size limit for column

Notes

Please check your database documentation for maximum limits for integer data types.

Examples

Clone this wiki locally