Function sqlx::query_as

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

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