Enhance binary data handling in Oracle driver and adjust dumper for byte array values

This commit is contained in:
Stela Augustinova
2025-11-06 13:08:50 +01:00
parent dca9ea24d7
commit 98f2b5dd08
2 changed files with 20 additions and 10 deletions

View File

@@ -136,9 +136,9 @@ class Dumper extends SqlDumper {
// else super.putValue(value);
// }
// putByteArrayValue(value) {
// this.putRaw(`e'\\\\x${arrayToHexString(value)}'`);
// }
putByteArrayValue(value) {
this.putRaw(`HEXTORAW('${arrayToHexString(value)}')`);
}
putValue(value, dataType) {
if (dataType?.toLowerCase() == 'timestamp') {