SQL
Dolt is a full-featured SQL database, akin to Postgres or MySQL.
Dolt implements the MySQL SQL dialect. You connect to Dolt using a MySQL client. The goal is for Dolt to be a drop in replacement for MySQL.
Dolt has databases and tables as you'd expect. Dolt implements most MySQL data types. Dolt supports secondary indexes. Dolt supports foreign key and check constraints. Dolt supports views, triggers, and procedures. Dolt implements users and grants for permissions.
This section of the documentation will explain Dolt's flavor of these standard SQL concepts. Perhaps more importantly, this section will also explain how these concepts interact with Dolt's version control features.
Concepts will be tackled in the following order:
  1. 1.
    Databases
  2. 2.
    Schema
  3. 3.
    Tables
  4. 4.
  5. 5.
    Types
  6. 6.
    Indexes
  7. 7.
    Views
  8. 8.
  9. 9.
    Triggers
  10. 10.
  11. 11.
  12. 12.
Export as PDF
Copy link
Edit on GitHub