style: fix lint errors in dialect files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,7 @@ export class MySqlDialect implements SqlDialect {
|
|||||||
return `${schema}_${table}`
|
return `${schema}_${table}`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
param(_index: number): string {
|
param(_index: number): string {
|
||||||
return '?'
|
return '?'
|
||||||
}
|
}
|
||||||
@@ -63,6 +64,7 @@ export class MySqlDialect implements SqlDialect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
maxBatchRows(_columnsPerRow: number): number {
|
maxBatchRows(_columnsPerRow: number): number {
|
||||||
return 1000
|
return 1000
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ export class PostgreSqlDialect implements SqlDialect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
maxBatchRows(_columnsPerRow: number): number {
|
maxBatchRows(_columnsPerRow: number): number {
|
||||||
return 1000
|
return 1000
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,7 +66,8 @@ export class SqlServerDialect implements SqlDialect {
|
|||||||
sql: string
|
sql: string
|
||||||
nextParamIndex: number
|
nextParamIndex: number
|
||||||
} {
|
} {
|
||||||
const { sql, limit, offset, paramIndex } = params
|
const { sql, offset, paramIndex } = params
|
||||||
|
void params.limit // used by caller to push param values
|
||||||
|
|
||||||
if (offset !== undefined) {
|
if (offset !== undefined) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user