Skip to content

Commit 070155a

Browse files
committed
fix native bindings
native bindings need to get the textParsers with the new syntax
1 parent e9838cc commit 070155a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/native/query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ var mapRowData = function(row) {
6060
var result = {};
6161
for(var i = 0, len = row.length; i < len; i++) {
6262
var item = row[i];
63-
result[item.name] = item.value == null ? null : types.getStringTypeParser(item.type)(item.value);
63+
result[item.name] = item.value == null ? null : types.getTypeParser(item.type, 'text')(item.value);
6464
}
6565
return result;
6666
}

0 commit comments

Comments
 (0)