[][src]Function sqlx::query_as

pub fn query_as<DB, O>(
    sql: &'q str
) -> QueryAs<'q, DB, O, <DB as HasArguments<'q>>::Arguments> where
    O: for<'r> FromRow<'r, <DB as Database>::Row>,
    DB: Database

Make a SQL query that is mapped to a concrete type using FromRow.