Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mindsdb.com/llms.txt

Use this file to discover all available pages before exploring further.

Description

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.

Syntax

Here is the syntax:
files = server.get_database('files')
files.tables.drop('file_name')