Skip to content
Registry

database

v0.2.1

Talk to PostgreSQL, MySQL, and SQLite from iii — query, execute, transactions, prepared statements, and change feeds.

dbmysqlpostgressqlsqlite

Install

bash
iii trigger compose::add worker=database@0.2.1

Run in your project with the iii engine running. Exact versions are immutable and digest-pinned.

skill doc

database

index
index.md

database

Connect to PostgreSQL, MySQL, and SQLite from the iii engine. Run read-only queries, write statements, atomic transactions, and prepared-statement sequences over a managed per-database connection pool. Every callable surface lives under the single database::* namespace; SQLite is the recommended starting point because it needs no server, just a file.

The worker resolves the driver from each database's URL scheme (sqlite:, postgres://, postgresql://, mysql://). For the databases: config block, TLS modes, error-code reference, and the per-driver compatibility table (e.g. returning: is a no-op on MySQL; SQLite degrades read_committed / repeatable_read to serializable), see the README.

How-tos

database::*

database::row-change (Postgres logical replication via pgoutput) is registered as a trigger type but is not yet functional in v1.0.0: register_trigger returns UNSUPPORTED while the streaming decode loop waits on an upstream tokio-postgres replication API release. Operators can pre-provision slots and publications now; see the Triggers section of the README for current status and cleanup commands.

Search the registry

Find workers, kits and executables, or jump to a page.