mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 05:36:00 +00:00
Enhance binary data handling in Oracle driver and adjust dumper for byte array values
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user