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
.
pub fn query_scalar<'q, DB, O>(
sql: &'q str,
) -> QueryScalar<'q, DB, O, <DB as HasArguments<'q>>::Arguments>
Make a SQL query that is mapped to a single concrete type
using FromRow
.