Skip to main content

Module models

Module models 

Source
Expand description

Data models exchanged across the database boundary.

Typed identifiers, DbValue and JsonRow are re-exported from systemprompt-identifiers and systemprompt-traits so that downstream crates only depend on systemprompt-database for the database surface.

Re-exports§

pub use info::ColumnInfo;
pub use info::DatabaseInfo;
pub use info::IndexInfo;
pub use info::TableInfo;
pub use query::DatabaseQuery;
pub use query::FromDatabaseRow;
pub use query::QueryResult;
pub use query::QueryRow;
pub use query::QuerySelector;
pub use transaction::DatabaseTransaction;

Modules§

info
Descriptors for databases, tables, columns, and indexes.
query
Query primitives: selectors, dynamic results, typed row decoding.
transaction
Dyn-safe transaction trait used by the dynamic-SQL surface.

Structs§

ArtifactId
ClientId
ContentId
ContextId
ExecutionStepId
FileId
LogId
SessionId
SkillId
TaskId
TokenId
TraceId
UserId

Enums§

DbValue

Traits§

FromDbValue
ToDbValue

Functions§

parse_database_datetime

Type Aliases§

JsonRow