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

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);
});