sqlx_core::query

Function query_statement

Source
pub fn query_statement<'q, DB>(
    statement: &'q DB::Statement<'q>,
) -> Query<'q, DB, <DB as Database>::Arguments<'_>>
where DB: Database,
Expand description

Execute a single SQL query as a prepared statement (explicitly created).