bookclerk_plugin_database_sqlite::plugin

Development These docs follow the development version and change with every merge.

Last updated View as Markdown

Database factory for the platform SQLite guest.

Item Kind Summary
SqliteRoot struct Root capability for the platform SQLite database guest.
binding_database function The adapter a plugin database binding gets, on its own connection.

Structs

SqliteRoot

pub struct SqliteRoot;

Root capability for the platform SQLite database guest.

Implements: PluginWorker

Functions

binding_database

pub fn binding_database(conn: DatabaseConnection) -> Box<dyn Database>

The adapter a plugin database binding gets, on its own connection.

This is the databaseAdapter entrypoint the guest serves for a binding open, without the RPC transport, so a test can run the adapter conformance suite (bookclerk-db-testkit) on it in process.

Generated from crates/bookclerk-plugins/platform/database-sqlite at main · View as Markdown