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

Method execute_with_statement_pool_params

src/session/db_handler.rs:2563–2571  ·  view source on GitHub ↗

Execute with statement pool and parameters

(
        &self,
        query: &str,
        params: &[Option<Vec<u8>>],
        session_id: &Uuid,
    )

Source from the content-addressed store, hash-verified

2561
2562 /// Execute with statement pool and parameters
2563 pub async fn execute_with_statement_pool_params(
2564 &self,
2565 query: &str,
2566 params: &[Option<Vec<u8>>],
2567 session_id: &Uuid,
2568 ) -> Result<DbResponse, PgSqliteError> {
2569 // Forward to execute_with_params
2570 self.execute_with_params(query, params, session_id).await
2571 }
2572
2573 // Execute a closure with access to the session's connection
2574 pub async fn with_session_connection<F, R>(

Calls 1

execute_with_paramsMethod · 0.45