MCPcopy Create free account
hub / github.com/erans/pgsqlite / with_session_connection_mut

Method with_session_connection_mut

src/session/db_handler.rs:2585–2594  ·  view source on GitHub ↗
(
        &self,
        session_id: &Uuid,
        f: F
    )

Source from the content-addressed store, hash-verified

2583 }
2584
2585 pub async fn with_session_connection_mut<F, R>(
2586 &self,
2587 session_id: &Uuid,
2588 f: F
2589 ) -> Result<R, PgSqliteError>
2590 where
2591 F: FnOnce(&mut rusqlite::Connection) -> Result<R, rusqlite::Error>
2592 {
2593 self.connection_manager.execute_with_session_mut(session_id, f)
2594 }
2595
2596 /// Execute with a cached connection (fast path - no HashMap lookup)
2597 pub async fn with_cached_connection<F, R>(

Callers 1

execute_ddlMethod · 0.80

Calls 1

Tested by

no test coverage detected