Renamed the delete method to deleteFrom
This commit is contained in:
parent
c61b4d07e9
commit
5cc960b21a
@ -209,7 +209,7 @@ public class MySQLConnection {
|
|||||||
* @param tableName The name of the table you want to delete a row from
|
* @param tableName The name of the table you want to delete a row from
|
||||||
* @return the deletion manager
|
* @return the deletion manager
|
||||||
*/
|
*/
|
||||||
public DeletionManager delete(String tableName) {
|
public DeletionManager deleteFrom(String tableName) {
|
||||||
return new DeletionManager(this, tableName);
|
return new DeletionManager(this, tableName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -149,7 +149,7 @@ public abstract class SQLTable {
|
|||||||
* @return the deletion manager
|
* @return the deletion manager
|
||||||
*/
|
*/
|
||||||
public DeletionManager delete() {
|
public DeletionManager delete() {
|
||||||
return connection.delete(tableName());
|
return connection.deleteFrom(tableName());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user