method DB.prototype.executeBatch
DB.prototype.executeBatch(
sql: string,
paramsArray: unknown[][]
): Task<number[], QueryFailed | ConstraintViolation>

Execute multiple commands in a batch. Leverages optimized adapter method if available.

Parameters

sql: string
paramsArray: unknown[][]

Return Type

Usage

import { DB } from ".";