mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-09-21 12:03:20 +08:00
Optimize code structure.
This commit is contained in:
@ -32,7 +32,7 @@ public class MongodbManage extends DefaultDBManage implements DBManage {
|
||||
@Override
|
||||
public void dropTable(Connection connection, String databaseName, String schemaName, String tableName) {
|
||||
String sql = " db. " + tableName + ".drop();";
|
||||
SQLExecutor.getInstance().executeSql(connection, sql, resultSet -> null);
|
||||
SQLExecutor.getInstance().execute(connection, sql, resultSet -> null);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user