Skip to content

SQL Compatibility Matrix

DataVo SQL is intentionally smaller than PostgreSQL, SQLite, or SQL Server. The point of this page is to make the v0.1 boundary explicit: examples first, then the compatibility table.

The core database lifecycle is supported.

sql
CREATE DATABASE App;
USE App;

CREATE TABLE Users (
  Id INT PRIMARY KEY,
  Name VARCHAR(80),
  DepartmentId INT,
  IsActive BIT
);

CREATE TABLE Departments (
  Id INT PRIMARY KEY,
  Name VARCHAR(80)
);

Core DML is supported.

sql
INSERT INTO Users (Id, Name, DepartmentId, IsActive)
VALUES (1, 'Ada', 10, true);

UPDATE Users
SET IsActive = false
WHERE Id = 1;

DELETE FROM Users
WHERE Id = 1;

Core query features are supported.

sql
SELECT Id, Name
FROM Users
WHERE IsActive = true
ORDER BY Id ASC
LIMIT 50;

Joins and grouped aggregates are part of the runtime SQL surface.

sql
SELECT d.Name AS Department, COUNT(*) AS UserCount
FROM Users u
INNER JOIN Departments d ON u.DepartmentId = d.Id
GROUP BY d.Name
HAVING COUNT(*) > 0;

Vector SQL is part of the v0.1 feature set.

sql
CREATE TABLE Embeddings (
  Id INT PRIMARY KEY,
  Label VARCHAR(80),
  Emb VECTOR(3)
);

CREATE INDEX idx_embeddings_hnsw
ON Embeddings (Emb)
USING HNSW;

SELECT Id, Label, Emb <=> '[1,0,0]' AS distance
FROM Embeddings
ORDER BY distance ASC
LIMIT 5;

The unsupported areas are just as important. Do not write application code that depends on stored procedures, triggers, PostgreSQL catalogs, or full PostgreSQL syntax compatibility.

sql
-- Not supported in DataVo v0.1:
CREATE TRIGGER users_updated
BEFORE UPDATE ON Users
FOR EACH ROW
EXECUTE PROCEDURE set_updated_at();

SQL Compatibility Summary

FeatureStatusNotes
Database selectionSupportedCREATE DATABASE, USE.
Table DDLSupportedCREATE TABLE, DROP TABLE, and limited ALTER TABLE forms.
Scalar indexesSupportedSingle-column and composite scalar indexes.
Vector indexesSupportedHNSW and FLAT.
Inserts, updates, deletesSupportedCore DML works through the parser/runtime.
TransactionsSupportedExplicit session transactions with BEGIN TRANSACTION, COMMIT, and ROLLBACK.
Basic SELECTSupportedProjection, filtering, ordering, limits, and offsets.
JoinsSupportedRuntime SQL supports major join families.
AggregationSupportedGrouped aggregate queries are supported.
SubqueriesSupportedTested IN and EXISTS style shapes.
Vector distance SQLSupported<=>, <->, HNSW, and FLAT.
ViewsPlannedReactive query work exists, but SQL CREATE VIEW is not a public v0.1 feature.
Window functionsNot SupportedNo public v0.1 support.
Stored proceduresNot SupportedNo procedural SQL layer.
TriggersNot SupportedNo trigger execution layer.
User-defined functionsNot SupportedNo public UDF API.
PostgreSQL catalogsNot SupportedFuture wire compatibility would need catalog mocking.