MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / sqlx_query

Function sqlx_query

src/driver/sqlx_mysql.rs:274–280  ·  view source on GitHub ↗
(stmt: &Statement)

Source from the content-addressed store, hash-verified

272}
273
274pub(crate) fn sqlx_query(stmt: &Statement) -> sqlx::query::Query<'_, MySql, SqlxValues> {
275 let values = stmt
276 .values
277 .as_ref()
278 .map_or(Values(Vec::new()), |values| values.clone());
279 sqlx::query_with(&stmt.sql, SqlxValues(values))
280}
281
282pub(crate) async fn set_transaction_config(
283 conn: &mut PoolConnection<MySql>,

Callers 9

executeMethod · 0.70
query_oneMethod · 0.70
query_allMethod · 0.70
set_transaction_configFunction · 0.70
executeMethod · 0.50
query_oneMethod · 0.50
query_allMethod · 0.50
buildMethod · 0.50
buildMethod · 0.50

Calls 2

as_refMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected