MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / pg_query_prepared

Function pg_query_prepared

src/persist/src/postgres.rs:83–90  ·  view source on GitHub ↗
(
    client: &Object,
    statement: &Statement,
    params: &[&(dyn ToSql + Sync)],
)

Source from the content-addressed store, hash-verified

81}
82
83async fn pg_query_prepared(
84 client: &Object,
85 statement: &Statement,
86 params: &[&(dyn ToSql + Sync)],
87) -> Result<Vec<Row>, tokio_postgres::Error> {
88 #[allow(clippy::disallowed_methods)]
89 client.query(statement, params).await
90}
91
92async fn pg_query_opt_prepared(
93 client: &Object,

Callers 1

scanMethod · 0.85

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected