Changed the return value of the insert & update manager

This commit is contained in:
mathias 2021-08-19 21:15:57 +02:00
parent 2446395f4c
commit c77aaa413f
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A
2 changed files with 2 additions and 8 deletions

View File

@ -81,12 +81,9 @@ public class InsertManager {
/**
* Execute the current SQL query
*
* @return this class
*/
public InsertManager execute() {
public void execute() {
connection.update(prepareStatement(), values.values().toArray());
return this;
}
}

View File

@ -88,12 +88,9 @@ public class UpdateManager {
/**
* Update the entries with your current conditions
*
* @return this class
*/
public UpdateManager execute() {
public void execute() {
connection.update(prepareUpdateStatement(), getTempParams().toArray());
return this;
}
/**