database
Installation
SKILL.md
database
The database worker connects to PostgreSQL, MySQL, and SQLite through a
managed per-database connection pool. Every callable surface lives under
the database::* namespace. The driver is chosen from each database URL
scheme (sqlite:, postgres://, postgresql://, mysql://).
Runtime settings live in the configuration worker under id database (or
the config_id that database::listDatabases reports); pools hot-reload when
the value changes. SQLite is the recommended starting point. Placeholder
syntax: ? for SQLite and MySQL, $1/$2/… for Postgres.
Querying a connection
Each configured connection has a name; pass it as db on every call.