Function sqlx_core::query_scalar::query_scalar
source · pub fn query_scalar<'q, DB, O>(
sql: &'q str
) -> QueryScalar<'q, DB, O, <DB as HasArguments<'q>>::Arguments>
Expand description
Make a SQL query that is mapped to a single concrete type
using FromRow
.