radweb-server
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "radweb-server", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"main":"index.js", | ||
@@ -5,0 +5,0 @@ "Dependencies": { |
@@ -196,11 +196,10 @@ "use strict"; | ||
return r.query(select).then(function (r) { | ||
var y = r.rows; | ||
//return pageArray(r.rows, options).map(y => { | ||
var result = {}; | ||
for (var x in y) { | ||
var col = colKeys[r.getColumnIndex(x)]; | ||
result[col.jsonName] = col.__getStorage().fromDb(y[x]); | ||
} | ||
return result; | ||
// }); | ||
return r.rows.map(function (y) { | ||
var result = {}; | ||
for (var x in y) { | ||
var col = colKeys[r.getColumnIndex(x)]; | ||
result[col.jsonName] = col.__getStorage().fromDb(y[x]); | ||
} | ||
return result; | ||
}); | ||
}); | ||
@@ -207,0 +206,0 @@ }; |
Sorry, the diff of this file is not supported yet
45471
629