ibmdb / node-ibm_db

IBM DB2 and IBM Informix bindings for node
MIT License
190 stars 151 forks source link

(Proivde an option to) Return BINARY and VARBINARY columns as Buffer #862

Closed markddrake closed 2 years ago

markddrake commented 2 years ago

Currently BINARY and VARBINARY columns are returned as HEXDECIMAL Strings. Ideally IBM_DB should return these columns as instances of the Node.js BUFFER class. Since this would be a 'breaking' change, it should be possible to configure how columns of BINARY and VARBINARY are returned, at the statement and connection level.