Function sqlx_core::query_scalar::query_scalar_with
source · [−]pub fn query_scalar_with<'q, DB, O, A>(
sql: &'q str,
arguments: A
) -> QueryScalar<'q, DB, O, A> where
DB: Database,
A: IntoArguments<'q, DB>,
(O,): for<'r> FromRow<'r, DB::Row>,
Expand description
Make a SQL query, with the given arguments, that is mapped to a single concrete type
using FromRow
.