The dropModel()
function removes a model from MindsDB.
Syntax
Use the dropModel()
method to remove a model:
Project mindsdb = server.getProject("mindsdb");
// option 1
mindsdb.dropModel("model_name");
// option 2
mindsdb.models.drop('my_model')