oracledb.d.ts: fix IMetaData to match real data structure.

This commit is contained in:
Leo Liang authored and Masahiro Wakame committed 2016-04-06 21:03:58 +09:00
1 parent a0dcbb804d
commit 5415331dd4
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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);
}
);
}
+1 -1
View File
@@ -100,7 +100,7 @@ declare module 'oracledb' {
export interface IMetaData {
/** Column name */
columnName: string;
name: string;
}
export interface IResultSet {