Cleaned up code
This commit is contained in:
parent
c77aaa413f
commit
8a16e172ad
@ -141,6 +141,7 @@ public class MySQLConnection {
|
||||
|
||||
/**
|
||||
* Gets the table generator
|
||||
*
|
||||
* @param tableName The name of the table
|
||||
* @return the instance of the table generator
|
||||
*/
|
||||
@ -198,6 +199,7 @@ public class MySQLConnection {
|
||||
|
||||
/**
|
||||
* Gets the deletion manager for easier deleting rows in a table
|
||||
*
|
||||
* @return the deletion manager
|
||||
*/
|
||||
public DeletionManager delete() {
|
||||
@ -206,6 +208,7 @@ public class MySQLConnection {
|
||||
|
||||
/**
|
||||
* Gets the deletion manager for easier deleting rows in a table
|
||||
*
|
||||
* @param tableName The name of the table you want to delete a row from
|
||||
* @return the deletion manager
|
||||
*/
|
||||
|
@ -14,7 +14,7 @@ public class DeletionManager {
|
||||
private final MySQLConnection connection;
|
||||
private final HashMap<String, Object> whereList;
|
||||
private final ArrayList<Object> databaseParameters;
|
||||
private ArrayList<String> optionalQuery;
|
||||
private final ArrayList<String> optionalQuery;
|
||||
private String tableName;
|
||||
|
||||
/**
|
||||
|
@ -15,7 +15,7 @@ public class SelectionManager {
|
||||
private final MySQLConnection connection;
|
||||
private final HashMap<String, Object> whereList;
|
||||
private final ArrayList<Object> databaseParameters;
|
||||
private ArrayList<String> optionalQuery;
|
||||
private final ArrayList<String> optionalQuery;
|
||||
private int limit;
|
||||
private String tableName;
|
||||
|
||||
|
@ -146,6 +146,7 @@ public abstract class SQLTable {
|
||||
|
||||
/**
|
||||
* Gets the deletion manager of the current table
|
||||
*
|
||||
* @return the deletion manager
|
||||
*/
|
||||
public DeletionManager delete() {
|
||||
|
Reference in New Issue
Block a user