| title | Remove a File |
|---|---|
| sidebarTitle | Remove a File |
In MindsDB, files are treated as tables. These are stored in the default files database. To delete a file, you must save this files database into a variable and then, run the tables.drop() function on it.
Here is the syntax:
files = server.get_database('files')
files.tables.drop('file_name')