Integrated the SQLQuery into the update method of the MySQLConnection

This commit is contained in:
mathias 2021-08-26 16:35:07 +02:00
parent 07126218af
commit 7c07f7086e
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A

View File

@ -205,6 +205,15 @@ public class MySQLConnection {
return this;
}
/**
* Update something on your server by query
* @param query The query you want to execute
* @return this class
*/
public MySQLConnection update(SQLQuery query) {
return update(query.getStatement(), query.getParameters());
}
/**
* Gets the {@link UpdateManager} for easier updating
*