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