We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9060c6 commit c72d9c1Copy full SHA for c72d9c1
1 file changed
lib/ibmdb.js
@@ -372,7 +372,7 @@ IBMDB.prototype.toColumnValue = function(prop, val) {
372
*/
373
IBMDB.prototype.fromColumnValue = function(prop, val) {
374
debug('IBMDB.prototype.fromColumnValue %j %j', prop, val);
375
- if (val === null || !prop) {
+ if (val === undefined || val === null || !prop) {
376
return val;
377
}
378
switch (prop.type.name) {
0 commit comments