Changed update to updateTo

This commit is contained in:
mathias 2021-08-19 21:02:58 +02:00
parent 6b2862a64b
commit 6b82120e17
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ public class MySQLConnection {
* @param tableName The name of the table * @param tableName The name of the table
* @return Update de.gnmyt.SQLToolkit.manager * @return Update de.gnmyt.SQLToolkit.manager
*/ */
public UpdateManager update(String tableName) { public UpdateManager updateTo(String tableName) {
return new UpdateManager(this, tableName); return new UpdateManager(this, tableName);
} }

View File

@ -132,7 +132,7 @@ public abstract class SQLTable {
* @return the update manager * @return the update manager
*/ */
public UpdateManager update() { public UpdateManager update() {
return connection.update(tableName()); return connection.updateTo(tableName());
} }
/** /**