sqlmodel 0.2.2

SQL databases in Rust, designed to be intuitive and type-safe
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! ORM session re-exports.
//!
//! `sqlmodel::Session` is the SQLAlchemy/SQLModel-style session:
//! identity map + unit-of-work + explicit lazy/batch loading APIs.
//!
//! The implementation lives in the separate `sqlmodel-session` crate. This module
//! exists so the `sqlmodel` facade can expose the ORM session without forcing
//! users to depend on sub-crates directly.
//!
//! For a lightweight "connection + optional console" wrapper, use
//! `sqlmodel::ConnectionSession`.

pub use sqlmodel_session::{
    GetOptions, ObjectKey, ObjectState, Session, SessionConfig, SessionDebugInfo,
};