Class TableBuilder
java.lang.Object
com.booksaw.betterTeams.database.api.TableBuilder
Class used to build a table from scratch NOTE THIS CLASS IS UNFINISHED
for example, you cannot set the primary key of the table
- Author:
- booksaw
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TableBuilder
-
-
Method Details
-
getTableInfo
- Returns:
- The table info for this builder
-
execute
public void execute()Execute the built command -
addColumn
-
addColumn
-
addColumn
-
addColumn
public TableBuilder addColumn(String columnName, @NotNull @NotNull DataType type, String argument, boolean notNull) -
getTableName
-