MindsDB Entities
The following entities can be created in MindsDB:- Databases → CREATE DATABASE
- Knowledge Bases (KBs) → CREATE KNOWLEDGE_BASE
- Tables → CREATE TABLE
- Views → CREATE VIEW
- Projects → CREATE PROJECT
- Jobs → CREATE JOB
- Triggers → CREATE TRIGGER
- Agents → CREATE AGENT
General Naming Rules
When creating these entities, the following conventions apply:-
Case-insensitive names
Object names are not sensitive to letter casing. For example:
All names are automatically converted to lowercase.
-
Allowed characters
Lowercase letters (
a–z
) Numbers (0–9
) Underscores (_
) Example: -
Special characters
If you need special characters or spaces in object names, enclose them in backticks.
However, names inside backticks must be lowercase. Using uppercase letters will result in an error because all object names must be in lowercase letters.
When working with entities from a data source connected to MindsDB, their original names are preserved and are not subject to MindsDB naming rules.For example, if you connect a Snowflake data source that contains a table named
ANALYTICS_101
with a column named Date_Time
, you must reference them exactly as they appear in the source, utilizing backticks, as shown below:Backward Compatibility
Older objects created with uppercase letters are still supported for backward compatibility. To reference them, wrap the name in backticks.Examples
Here are some practical examples:- Views
My_View
exists, you can still use it:
- Databases
MY_DATABASE
exists, you can still use it:
- Agents
My agent 1
exists, you can still use it: