execute_batch

Function execute_batch 

Source
pub async fn execute_batch(
    target: impl Into<BatchTarget<'_>>,
    query: &str,
) -> Result<(), SqlMiddlewareDbError>
Expand description

Execute a batch against either a connection or a transaction.

ยงErrors

Returns an error propagated from the underlying backend execution or transaction context.