Function: logBatch()
logBatch(
statements
: {args
: readonlyunknown
[];sql
:string
; }[],logger
?:Logger
):void
Logs a batch of SQL statements and arguments using a logger.
Parameters
Parameter | Type | Description |
---|---|---|
statements | {args : readonly unknown [];sql : string ; }[] | The SQL statements to log. |
logger ? | Logger | The logger instance to use. |
Returns
void