Skip to main content

Crate dactyl_db

Crate dactyl_db 

Source
Expand description

Dactyl — the governed datastore boundary for Decapod.

Interchangeably read and write to local SQLite or cloud-hosted Vercel Neon instances behind a single unified facade.

Re-exports§

pub use crate::error::DactylError;

Modules§

adapter
Adapter trait — internal to dactyl.
error
Public error type for dactyl.
query
Query analysis pipeline.

Macros§

query
dactyl::query!("literal") — returns the rewritten SQL as a String.

Structs§

Row
One result row. Carries the column names (shared across the result) plus the per-cell JSON values.
Rows
A collection of result rows.
Statement
A parameterized SQL statement for batch execution.

Enums§

Parameter
A unified database parameter value.

Functions§

execute
Execute a raw schema/DDL/migration operation.
init
Explicitly configure the active datastore and route.
read
Execute a parameterized read query.
reset
Reset/clear all cached connections.
transaction
Execute an atomic batch of statements.
write
Execute a parameterized write query.