Constructor
new CreateTable()
Methods
(async) execute() → {Any}
Executes the prepared querry
Returns:
- Type:
- Any
name(name) → {this}
Sets a new name
Parameters:
| Name | Type | Description |
|---|---|---|
name | String |
Returns:
- Type:
- this
selectDatabase(database) → {this}
Selects a database for this query
Parameters:
| Name | Type | Description |
|---|---|---|
database | String | Name of the database |
Returns:
- Type:
- this
structure(struc) → {this}
Defines the structure for the table
Parameters:
| Name | Type | Description |
|---|---|---|
struc | Structure | Instance of Structure |
Returns:
- Type:
- this