Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mindsdb-dependabot-npm-and-yarn-docs-multi-e24c86a36e.mintlify.app/llms.txt

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

Description

The getAllViews() function lists all available views.

Syntax

Here is how to list all available views:
const allViews = await MindsDB.Views.getAllViews();
console.log('all views:')
allViews.forEach(v => {
  console.log(v.name);
});