pub trait DatabaseTransaction<Database>: Transactional + Debug + Send + Sync {
    fn database(&self) -> &Database;
    fn database_mut(&mut self) -> &mut Database;
}
Expand description

The database transaction for the Database type.

Required Methods§

Returns the reference to the Database instance.

Returns the mutable reference to the Database instance.

Implementors§