mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
fix: fetch oracle blobs as buffer
This commit is contained in:
@@ -13,6 +13,7 @@ function getOracledb() {
|
||||
if (!oracledbValue) {
|
||||
oracledbValue = require('oracledb');
|
||||
oracledbValue.fetchAsString = [oracledbValue.CLOB, oracledbValue.NCLOB];
|
||||
oracledbValue.fetchAsBuffer = [oracledbValue.BLOB];
|
||||
}
|
||||
return oracledbValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user