Skip to main content

exec_rows

Function exec_rows 

Source
pub async fn exec_rows(
    conn: &mut Conn,
    sql: &str,
    params: Params,
    conversion: &Conversion,
) -> Result<Vec<Row>>
Expand description

Runs a prepared statement and collects the rows of its first result set.

ยงErrors

Returns the mapped driver failure when the server refuses the statement or the channel is lost, and a limit failure when a value exceeds its ceiling.