Package xyz.geik.farmer.database
Class SQLite
java.lang.Object
xyz.geik.farmer.database.SQL
xyz.geik.farmer.database.SQLite
SQLite query class
- Since:
- b000
- Author:
- Amowny
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCreate tables if there is no anyReturns 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
-
SQLite
public SQLite()Main constructor of SQLite
-
-
Method Details
-
createTable
public void createTable()Create tables if there is no any- Specified by:
createTablein classSQL
-
getDatabaseType
Returns type of database- Specified by:
getDatabaseTypein classSQL- Returns:
- DatabaseType enum #SQLITE / #MYSQL
-