Protocol-agnostic SQL primitives for Ubiquisync.
⚠ PRE-ALPHA — WORK IN PROGRESS ⚠
This crate is in active, early development. APIs are incomplete, unproven, and will change without notice. Do not use it in production. Breaking changes may land on any commit.
The sync engine is storage-agnostic: it builds SQL as strings and runs them through a backend connection. This crate holds the pieces of that story that know nothing about any particular data domain:
- [
db] — the backend abstraction (Db/DbBatch), the value/row types, and the genericDbTypestorage class. - [
dialect] — the closedSqlDialectenum capturing the points where SQL flavors diverge. - [
hlc_storage] — a SQL-backed implementation of the core HLC storage.
Data domains such as the table protocol (ubiquisync-tables) build on top
of these; concrete drivers (ubiquisync-sqlite, ubiquisync-postgres)
implement Db and report which SqlDialect
they speak.