🛠️ Code cleanup & added many new features #1
@ -81,12 +81,9 @@ public class InsertManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute the current SQL query
|
* Execute the current SQL query
|
||||||
*
|
|
||||||
* @return this class
|
|
||||||
*/
|
*/
|
||||||
public InsertManager execute() {
|
public void execute() {
|
||||||
connection.update(prepareStatement(), values.values().toArray());
|
connection.update(prepareStatement(), values.values().toArray());
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -88,12 +88,9 @@ public class UpdateManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Update the entries with your current conditions
|
* Update the entries with your current conditions
|
||||||
*
|
|
||||||
* @return this class
|
|
||||||
*/
|
*/
|
||||||
public UpdateManager execute() {
|
public void execute() {
|
||||||
connection.update(prepareUpdateStatement(), getTempParams().toArray());
|
connection.update(prepareUpdateStatement(), getTempParams().toArray());
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user