Integrated the SQLQuery into the update method of the MySQLConnection
This commit is contained in:
parent
07126218af
commit
7c07f7086e
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user