MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / query

Method query

src/pglite/client.rs:292–301  ·  view source on GitHub ↗

Execute a SQL query using the extended protocol.

(
        &mut self,
        sql: &str,
        params: &[Value],
        options: Option<&QueryOptions>,
    )

Source from the content-addressed store, hash-verified

290
291 /// Execute a SQL query using the extended protocol.
292 pub fn query(
293 &mut self,
294 sql: &str,
295 params: &[Value],
296 options: Option<&QueryOptions>,
297 ) -> Result<Results> {
298 self.check_ready()?;
299
300 self.query_internal(sql, params, options)
301 }
302
303 fn query_internal(
304 &mut self,

Callers 1

Calls 3

check_readyMethod · 0.80
query_internalMethod · 0.80
ensure_openMethod · 0.80

Tested by

no test coverage detected