MindsDB home page
Search...
⌘K
Ask AI
Login
Get Started
Get Started
Search...
Navigation
Projects
Query Projects
Documentation
SQL API
SDKs
REST API
Integrations
Contribute
FAQs
Join our Slack
GitHub
SDKs
Overview
Mongo-QL
Python SDK
Connect
Databases
ML Engines
Projects
Create a Project
Remove a Project
List Projects
Query Projects
Models
Predictions
Tables, Views, Files
Jobs
JavaScript SDK
On this page
Description
Syntax
Projects
Query Projects
Description
The
query()
methods enables you to run queries on models, tables, and views stored in a project.
Syntax
Use the
query()
method to submit a query to a project:
Copy
Ask AI
query
=
project.query
(
'SELECT * FROM my_table;'
)
query.fetch
()
Suggest edits
Raise issue
List Projects
Create, Train, and Deploy a Model
Assistant
Responses are generated using AI and may contain mistakes.