| title | Query a File |
|---|---|
| sidebarTitle | Query a File |
The runQuery() function executes a query given as its argument directly in MindsDB.
Here is the syntax:
const query = `SELECT * FROM files.file_name`;
const queryResult = await MindsDB.SQL.runQuery(query);