Crate: vox-sql · Version: 0.6.0 · Target: Library (lib.rs)
Engine-agnostic SQL app-plane backends (libSQL, Postgres, MySQL) for Vox.
Engine-agnostic SQL surface for Vox app-plane data backends.
Connects via VOX_APP_DB_URL, normalizes rows/values, and exposes DDL,
introspection, and migration helpers for brownfield database interop.
| Feature | Default / Enables |
|---|
default | runtime |
mysql | sqlx?/mysql |
postgres | sqlx?/postgres |
runtime | dep:vox-db, dep:turso, dep:sqlx, dep:async-trait, dep:tokio, dep:vox-secrets |
| Module | Description |
|---|
build | — |
ddl | — |
introspect | — |
migrate | — |
schema_model | — |
type_map | — |
| Struct | Description |
|---|
SqlDialect | — |
SqlBackendError | — |
LibsqlBackend | — |
PostgresBackend | — |
MySqlBackend | — |
| Enum | Description |
|---|
PlaceholderStyle | — |
IdentifierQuoteStyle | — |
UpsertStyle | — |
ReturnClauseStyle | — |
SqlValue | — |
BackendKind | — |
AnySqlBackend | — |
| Trait | Description |
|---|
SqlBackend | — |
| Function | Description |
|---|
voxdb | — |
sqlite | — |
postgres | — |
mysql | — |
new | — |
from_url | — |
backend_kind | — |
connect_from_url | — |
connect_from_app_env | — |
dialect | — |
query | — |
execute | — |
begin_transaction | — |
commit_transaction | — |
rollback_transaction | — |
codex | — |
connect_from_config | — |
pool | — |
pool | — |