bookclerk_plugin_sdk::database_adapter
Database adapter helpers for third-party database plugin authors.
Rust authors building a database guest (kind = "database"). Use this
module with the db feature enabled on bookclerk-plugin-sdk:
[dependencies]
bookclerk-plugin-sdk = { version = "0.1", features = ["db"] }
| Need | Entry point |
|---|---|
Engine error → structured crate::PluginError |
plugin_error_from_engine, plugin_error_from_db_err |
Typed SQL NULL for proxy row decode |
typed_null |
First-party platform database guests use the internal bookclerk-db-guest
crate for SeaORM session workers; those helpers are not part of the stable
third-party author API.
database_adapter::errors::plugin_error_from_db_errdatabase_adapter::errors::plugin_error_from_enginedatabase_adapter::migrate::typed_null
errors: Engine error classification for SQLite and PostgreSQL guests.migrate: Generic SQL helpers for database guests.
Generated from crates/bookclerk-plugin-sdk at main · View as Markdown