From 070155a577a4e55425ce0fb369030f3386419b24 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 21 Nov 2011 11:37:45 +0100 Subject: [PATCH] fix native bindings native bindings need to get the textParsers with the new syntax --- lib/native/query.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/native/query.js b/lib/native/query.js index dbfd2b2d..6187c20a 100644 --- a/lib/native/query.js +++ b/lib/native/query.js @@ -60,7 +60,7 @@ var mapRowData = function(row) { var result = {}; for(var i = 0, len = row.length; i < len; i++) { var item = row[i]; - result[item.name] = item.value == null ? null : types.getStringTypeParser(item.type)(item.value); + result[item.name] = item.value == null ? null : types.getTypeParser(item.type, 'text')(item.value); } return result; }