mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-02-10 08:53:08 +00:00
chore: remove unused functions.
This commit is contained in:
parent
9513b24f20
commit
8ed4239477
@ -69,13 +69,6 @@ impl SqliteDb {
|
||||
&self.conn
|
||||
}
|
||||
|
||||
/// Returns a mutable reference to the underlying connection.
|
||||
///
|
||||
/// Use this for operations requiring a transaction.
|
||||
pub fn connection_mut(&mut self) -> &mut Connection {
|
||||
&mut self.conn
|
||||
}
|
||||
|
||||
/// Begins a transaction.
|
||||
pub fn transaction(&mut self) -> Result<rusqlite::Transaction<'_>, StorageError> {
|
||||
Ok(self.conn.transaction()?)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user