🛠️ Code cleanup & added many new features #1

Merged
gnmyt merged 121 commits from features/code-cleanup into master 2021-09-02 13:34:00 +00:00
Showing only changes of commit 961778bb0e - Show all commits

View File

@ -1,6 +1,7 @@
package de.gnmyt.SQLToolkit.drivers;
import de.gnmyt.SQLToolkit.api.SQLConsumer;
import de.gnmyt.SQLToolkit.factory.TableFactory;
import de.gnmyt.SQLToolkit.manager.DataBaseSelection;
import de.gnmyt.SQLToolkit.manager.InsertManager;
import de.gnmyt.SQLToolkit.manager.ResultManager;
@ -27,6 +28,7 @@ public class MySQLConnection {
private String tablePrefixVariable = "";
private String connectString = "";
private Connection con;
private TableFactory tableFactory = new TableFactory(this);
/**
* Basic constructor for the connection
@ -190,6 +192,14 @@ public class MySQLConnection {
return new InsertManager(this, tableName);
}
/**
* Gets the table factory
* @return the table factory
*/
public TableFactory getTableFactory() {
return tableFactory;
}
/**
* Connect with your MySQL server
*