Renamed the delete method to deleteFrom

This commit is contained in:
mathias 2021-08-19 20:57:06 +02:00
parent c61b4d07e9
commit 5cc960b21a
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ public class MySQLConnection {
* @param tableName The name of the table you want to delete a row from
* @return the deletion manager
*/
public DeletionManager delete(String tableName) {
public DeletionManager deleteFrom(String tableName) {
return new DeletionManager(this, tableName);
}

View File

@ -149,7 +149,7 @@ public abstract class SQLTable {
* @return the deletion manager
*/
public DeletionManager delete() {
return connection.delete(tableName());
return connection.deleteFrom(tableName());
}
/**