//! SeaORM adapter — `DatabaseConnection` behind the unified facade.
//!
//! SeaORM wraps SQLx internally, so the connection is `Clone + Send + Sync`
//! with lock-free async acquisition; it drops into `DbDriver` directly.
//! Entity/ActiveModel code keeps full access to the native connection by
//! matching `DbDriver::SeaOrm(conn)` — the facade never hides it.
use crateDbDriver;
use crateDataError;
/// Build a SeaORM-backed driver for [`ArclyDbPool`](crate::data::db::ArclyDbPool).
///
/// ```ignore
/// let primary = seaorm_driver("postgres://app@db-primary/orders").await?;
/// ctx.provide(DataSourceRegistry::new(ArclyDbPool::new("default", primary)));
/// ```
pub async
/// Native handle accessor for entity queries.