(
&self,
session_id: &Uuid,
f: F
)
| 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>( |
no test coverage detected