Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion types/oracledb/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ declare namespace OracleDB {
*
* For non-CLOB types, the conversion to string is handled by Oracle client libraries and is often referred to as defining the fetch type.
*/
let fetchAsString: Array<typeof DATE | typeof NUMBER | typeof BUFFER | typeof CLOB>;
let fetchAsString: Array<typeof DATE | typeof NUMBER | typeof BUFFER | typeof CLOB | typeof NCLOB>;
/**
* Converter can be used with fetch type handlers to change the returned data.
* If the value returned by the fetch type handler function is undefined then no conversion takes place.
Expand Down
2 changes: 1 addition & 1 deletion types/oracledb/oracledb-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ export const fetchAsBufferTests = (): void => {
};

export const fetchAsStringTests = (): void => {
defaultOracledb.fetchAsString = [oracledb.DATE, oracledb.NUMBER, oracledb.BUFFER, oracledb.CLOB];
defaultOracledb.fetchAsString = [oracledb.DATE, oracledb.NUMBER, oracledb.BUFFER, oracledb.CLOB, oracledb.NCLOB];
// @ts-expect-error
defaultOracledb.fetchAsString = [{}];
// @ts-expect-error
Expand Down