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:Databases
Note that when enclosing the object name in backticks, it preserves the case-sensitivity and special characters included in the name. Otherwise, the upper-case letters are automatically converted to lower-case letters. See the usage examples below.Views
My_View exists, you can still use it:
Agents
My agent 1 exists, you can still use it: