UNPKG

nodejs-jdbc

Version:
27 lines (26 loc) 1.02 kB
import { IColumnMetaData, IResultSetMetaData, ResultSetMetaData } from './ResultSetMetadata'; export interface IResultSet { nextSync(): IResultSet; getMetaDataSync(): IResultSetMetaData; getBooleanSync(columnLabel: string): any; getBytesSync(columnLabel: string): any; getStringSync(columnLabel: string): any; getShortSync(columnLabel: string): any; getIntSync(columnLabel: string): any; getFloatSync(columnLabel: string): any; getDoubleSync(columnLabel: string): any; getBigDecimalSync(columnLabel: string): any; getDateSync(columnLabel: string): any; getTimeSync(columnLabel: string): any; getTimestampSync(columnLabel: string): any; getObjectSync(columnLabel: string): any; } export type IFetchResult = object; export declare class ResultSet { private resultSet; constructor(resultSet: IResultSet); next(): IResultSet; fetchResult(metas: IColumnMetaData[]): IFetchResult; toObjArray(): IFetchResult[]; getMetaData(): ResultSetMetaData; }