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.
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: