Skip to main content

Function: logBatch()

logBatch(statements: {args: readonly unknown[];sql: string; }[], logger?: Logger): void

Logs a batch of SQL statements and arguments using a logger.

Parameters

ParameterTypeDescription
statements{args: readonly unknown[];sql: string; }[]The SQL statements to log.
logger?LoggerThe logger instance to use.

Returns

void

Defined in

packages/verse-core/src/utils/logging.ts:70