MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / do_query

Method do_query

crates/pg/src/pg_server.rs:319–324  ·  view source on GitHub ↗
(&self, _client: &mut C, query: &str)

Source from the content-addressed store, hash-verified

317 T: Sync + Send + ControlStateReadAccess + ControlStateWriteAccess + NodeDelegate + Authorization + Clone,
318{
319 async fn do_query<C>(&self, _client: &mut C, query: &str) -> PgWireResult<Vec<Response>>
320 where
321 C: ClientInfo + Unpin + Send + Sync,
322 {
323 self.exe_sql(query.to_string()).await
324 }
325}
326
327#[derive(Clone)]

Callers

nothing calls this directly

Calls 2

exe_sqlMethod · 0.80
to_stringMethod · 0.45

Tested by

no test coverage detected