mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
oracledb.d.ts: fix IMetaData to match real data structure.
This commit is contained in:
parent
a0dcbb804d
commit
5415331dd4
@ -24,6 +24,7 @@ OracleDB.getConnection(
|
||||
}
|
||||
console.log(result.rows);
|
||||
console.log(result.rows[0].department_id); // when outFormet is OBJECT
|
||||
console.log(result.metaData[0].name);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
2
oracledb/oracledb.d.ts
vendored
2
oracledb/oracledb.d.ts
vendored
@ -100,7 +100,7 @@ declare module 'oracledb' {
|
||||
|
||||
export interface IMetaData {
|
||||
/** Column name */
|
||||
columnName: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface IResultSet {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user