MCPcopy Create free account
hub / github.com/chatmail/core / set_db_version

Method set_db_version

src/sql/migrations.rs:721–724  ·  view source on GitHub ↗
(&self, version: i32)

Source from the content-addressed store, hash-verified

719
720impl Sql {
721 async fn set_db_version(&self, version: i32) -> Result<()> {
722 self.set_raw_config_int(VERSION_CFG, version).await?;
723 Ok(())
724 }
725
726 // Sets db `version` in the `transaction`.
727 fn set_db_version_trans(transaction: &mut rusqlite::Transaction, version: i32) -> Result<()> {

Callers 1

runFunction · 0.80

Calls 1

set_raw_config_intMethod · 0.80

Tested by

no test coverage detected