Class SQLite
java.lang.Object
xyz.geik.farmer.database.SQL
xyz.geik.farmer.database.SQLite
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCreate tables if there is no anyReturns type of databaseMethods inherited from class 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
-
getDatabaseType
Returns type of database- Specified by:
getDatabaseTypein classSQL- Returns:
- DatabaseType enum #SQLITE / #MYSQL
-