Skip to main content

dml_prepared

Function dml_prepared 

Source
pub async fn dml_prepared(
    conn: &mut PooledConnection<'_, PgManager>,
    query: &str,
    params: &[RowValues],
) -> Result<usize, SqlMiddlewareDbError>
Expand description

Adapter for query builder dml using prepared statements (typed-postgres target).

ยงErrors

Returns SqlMiddlewareDbError if preparing or executing the DML fails.