Trait fuel_core_interfaces::db::DatabaseTransaction
source · 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§
sourcefn database_mut(&mut self) -> &mut Database
fn database_mut(&mut self) -> &mut Database
Returns the mutable reference to the Database
instance.