systemprompt_database/models/mod.rs
1//! Data models exchanged across the database boundary.
2//!
3//! [`DbValue`] and [`JsonRow`] are re-exported from `systemprompt-traits`
4//! because they are part of the [`crate::DatabaseProvider`] signatures.
5//!
6//! Copyright (c) systemprompt.io — Business Source License 1.1.
7//! See <https://systemprompt.io> for licensing details.
8
9pub mod info;
10pub mod query;
11pub mod transaction;
12
13pub use info::{ColumnInfo, DatabaseInfo, IndexInfo, TableInfo};
14pub use query::{DatabaseQuery, QueryResult, QueryRow, QuerySelector};
15pub use systemprompt_traits::{DbValue, FromDbValue, JsonRow, ToDbValue, parse_database_datetime};
16pub use transaction::DatabaseTransaction;