pub fn query_as<'q, DB, O>(
sql: &'q str
) -> QueryAs<'q, DB, O, <DB as HasArguments<'q>>::Arguments> where
DB: Database,
O: for<'r> FromRow<'r, DB::Row>,
Expand description
Make a SQL query that is mapped to a concrete type
using FromRow
.