build_result_set

Function build_result_set 

Source
pub fn build_result_set(
    stmt: &mut Statement<'_>,
    params: &[Value],
) -> Result<ResultSet, SqlMiddlewareDbError>
Expand description

Build a result set from a SQLite query Only SELECT queries return rows affected. If a DML is sent, it does run it. If there’s more than one query in the statement, idk which statement will be run.

§Errors

Returns SqlMiddlewareDbError::ExecutionError if query execution or result processing fails.