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

This commit is contained in:
Leo Liang 2016-04-06 20:03:58 +08:00 committed by Masahiro Wakame
parent a0dcbb804d
commit 5415331dd4
2 changed files with 2 additions and 1 deletions

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);
}
);
}

View File

@ -100,7 +100,7 @@ declare module 'oracledb' {
export interface IMetaData {
/** Column name */
columnName: string;
name: string;
}
export interface IResultSet {