Update Fix

This commit is contained in:
2026-03-15 12:30:40 +01:00
parent 311ba5e7f3
commit 50be8e25f3
176 changed files with 4075 additions and 3013 deletions

View File

@@ -5,6 +5,7 @@
import { EventEmitter } from 'events';
import { Readable } from 'stream';
import { Timezone } from 'sql-escaper';
import { Query, QueryError } from './protocol/sequences/Query.js';
import { Prepare, PrepareStatementInfo } from './protocol/sequences/Prepare.js';
import {
@@ -150,7 +151,7 @@ export interface ConnectionOptions {
/**
* The timezone used to store local dates. (Default: 'local')
*/
timezone?: string | 'local';
timezone?: Timezone;
/**
* The milliseconds before a timeout occurs during the initial connection to the MySQL server. (Default: 10 seconds)
@@ -393,6 +394,8 @@ declare class Connection extends QueryableBase(ExecutableBase(EventEmitter)) {
end(callback?: (err: QueryError | null) => void): void;
end(options: any, callback?: (err: QueryError | null) => void): void;
[Symbol.dispose](): void;
destroy(): void;
pause(): void;