systemprompt-database 0.2.2

PostgreSQL infrastructure for systemprompt.io AI governance. SQLx-backed pool, generic repository traits, and compile-time query verification. Part of the systemprompt.io AI governance pipeline.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod database;
pub mod display;
pub mod executor;
pub mod postgres;
pub mod provider;
pub mod transaction;

pub use database::{Database, DatabaseExt, DbPool};
pub use display::DatabaseCliDisplay;
pub use executor::SqlExecutor;
pub use postgres::PostgresProvider;
pub use postgres::transaction::PostgresTransaction;
pub use provider::{DatabaseProvider, DatabaseProviderExt};
pub use transaction::{BoxFuture, with_transaction, with_transaction_raw, with_transaction_retry};