Skip to content

apitabledefinitiontext

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

text()

Usage

Adds a text column definition to the table definition object

Function Syntax

t.text(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 may not allow a default value to be set for columns with text data type.

Clone this wiki locally