CreateTable

Prepares creation of a new table

Constructor

new CreateTable()

Methods

(async) execute() → {Any}

Executes the prepared querry
Returns:
Type: 
Any

name(name) → {this}

Sets a new name
Parameters:
NameTypeDescription
nameString
Returns:
Type: 
this

selectDatabase(database) → {this}

Selects a database for this query
Parameters:
NameTypeDescription
databaseStringName of the database
Returns:
Type: 
this

structure(struc) → {this}

Defines the structure for the table
Parameters:
NameTypeDescription
strucStructureInstance of Structure
Returns:
Type: 
this