Skip to content

apitabledefinitioncreate

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

create()

Usage

Creates the table in the database, using the column definitions provided to the Table Definition object. If the force parameter was set when creating the Table Definition, then the table (if it already exists) will be dropped first.

Function Syntax

t = createTable(name);
// ... one or more column definitions here ...
t.create();

Parameters

Parameter Type Required Default Description
None string Yes one or more column names, comma delimited
Clone this wiki locally