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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Create 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:
createTable
in classSQL
-
getDatabaseType
Returns type of database- Specified by:
getDatabaseType
in classSQL
- Returns:
- DatabaseType enum #SQLITE / #MYSQL
-