Package xyz.geik.farmer.database
Class MySQL
java.lang.Object
xyz.geik.farmer.database.SQL
xyz.geik.farmer.database.MySQL
MySQL class for database connection
- Since:
- b000
- Author:
- Amowny
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Crates table of MySQLGets type of databaseMethods inherited from class xyz.geik.farmer.database.SQL
addUser, addUser, closeConnections, createFarmer, fixDatabase, loadAllFarmers, removeFarmer, removeUser, saveFarmer, updateAllFarmers, updateAllFarmersAsync, updateRole
-
Constructor Details
-
MySQL
public MySQL()Main constructor of MySQL init configurations
-
-
Method Details
-
createTable
public void createTable()Crates table of MySQL- Specified by:
createTable
in classSQL
-
getDatabaseType
Gets type of database- Specified by:
getDatabaseType
in classSQL
- Returns:
- DatabaseType#MYSQL
-