MCPcopy Create free account
hub / github.com/HFQR/xitca-web / query

Method query

postgres/src/execute/async_impl.rs:31–33  ·  view source on GitHub ↗
(self, cli: &Client)

Source from the content-addressed store, hash-verified

29impl Execute<&Client> for &str {
30 type ExecuteOutput = u64;
31 type QueryOutput = RowSimpleStream;
32
33 #[inline]
34 async fn execute(self, cli: &Client) -> Result<Self::ExecuteOutput, Error> {
35 self.query(cli).await.map(RowAffected::from)?.await
36 }

Callers 3

query_blockingMethod · 0.45
execute_blockingMethod · 0.45
executeMethod · 0.45

Calls 4

bind_noneMethod · 0.80
into_single_rttMethod · 0.80
into_with_cliMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected