Merge pull request #25836 from vasev01/ibmdb-database-callback-result

[IBM_DB] Database callback return type fixes
This commit is contained in:
Benjamin Lichtman
2018-05-31 21:32:26 -07:00
committed by GitHub

View File

@@ -104,9 +104,9 @@ export class Database implements Options {
rollbackTransactionSync(): Database;
columns(catalog: string | null, schema: string | null, table: string | null, column: string | null, cb: (error: Error, res: ODBCResult) => void): void;
columns(catalog: string | null, schema: string | null, table: string | null, column: string | null, cb: (error: Error, res: any[]) => void): void;
tables(catalog: string | null, schema: string | null, table: string | null, type: string | null, cb: (error: Error, res: ODBCResult) => void): void;
tables(catalog: string | null, schema: string | null, table: string | null, type: string | null, cb: (error: Error, res: any[]) => void): void;
describe(obj: DescribeObject, cb: (error: Error, res: any[]) => void): void;
@@ -187,6 +187,7 @@ export class ODBCStatement {
export class ODBCResult {
fetchMode: number;
fetchSync(): any[];
fetchAllSync(): any[];
moreResultsSync(): any[];
closeSync(): void;