Description

The query() function is executed on a data source connected to MindsDB and saved into a variable. This native query is executed directly on a data source.

Syntax

Here is the syntax:

my_data_source.query('SELECT * FROM datasource_name (<native query here>);')