sqlquerybuilder
Advanced tools
Comparing version 0.0.56 to 0.0.57
@@ -32,8 +32,8 @@ module.exports = function selects(self) { | ||
self._sqlObject.select += sel; | ||
// } else if (sel instanceof Array) { | ||
// self._sqlObject.select += ""; | ||
// for (var a = 0; a < sel.length; a++) { | ||
// self._sqlObject.select += sel[a]; | ||
// self._sqlObject.select += (a == sel.length - 1) ? "" : ", "; | ||
// } | ||
} else if (sel instanceof Array) { | ||
self._sqlObject.select += ""; | ||
for (var a = 0; a < sel.length; a++) { | ||
self._sqlObject.select += sel[a]; | ||
self._sqlObject.select += (a == sel.length - 1) ? "" : ", "; | ||
} | ||
} else if (sel instanceof Object) { | ||
@@ -40,0 +40,0 @@ self._sqlObject.select += ""; |
{ | ||
"name": "sqlquerybuilder", | ||
"version": "0.0.56", | ||
"version": "0.0.57", | ||
"description": "Highly opinionated Sql Server Query Writer, mostly for internal use.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
236446