The listViews()
function is executed on a project and lists all views available in this project.
Syntax
/**
* List all views
*
* @return list of View objects
*/
public List<View> listViews();
Example
Server server = MindsDB.connect();
List<View> views = server.listViews();