From 3f40708637c88f1f95148c7536a265aeae497367 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Tue, 28 Oct 2014 09:07:04 -0400 Subject: [PATCH] Update docs --- docs/adapter.js.html | 2 +- docs/driver.js.html | 2 +- docs/es6-polyfill.js.html | 2 +- docs/helpers.js.html | 2 +- docs/index.html | 2 +- docs/module-adapter.html | 2 +- docs/module-driver.html | 2 +- docs/module-helpers.html | 2 +- docs/module-node-query.html | 2 +- docs/module-query-builder.html | 2 +- docs/module-query-parser.html | 2 +- docs/modules.list.html | 2 +- docs/node-query.js.html | 2 +- docs/query-builder.js.html | 6 +++--- docs/query-parser.js.html | 2 +- lib/query-builder.js | 4 ++-- 16 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/adapter.js.html b/docs/adapter.js.html index 5393d89..18323a2 100644 --- a/docs/adapter.js.html +++ b/docs/adapter.js.html @@ -110,7 +110,7 @@ module.exports = { Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/driver.js.html b/docs/driver.js.html index fafed4e..c2142c3 100644 --- a/docs/driver.js.html +++ b/docs/driver.js.html @@ -255,7 +255,7 @@ module.exports = d; Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/es6-polyfill.js.html b/docs/es6-polyfill.js.html index 9871a60..3d0211e 100644 --- a/docs/es6-polyfill.js.html +++ b/docs/es6-polyfill.js.html @@ -171,7 +171,7 @@ module.exports = (function() { Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/helpers.js.html b/docs/helpers.js.html index 773b19a..2dc3c42 100644 --- a/docs/helpers.js.html +++ b/docs/helpers.js.html @@ -164,7 +164,7 @@ module.exports = h; Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/index.html b/docs/index.html index 707e059..d388a7f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -132,7 +132,7 @@ query.select('foo') Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/module-adapter.html b/docs/module-adapter.html index 3f2545a..a7cce8b 100644 --- a/docs/module-adapter.html +++ b/docs/module-adapter.html @@ -354,7 +354,7 @@ Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/module-driver.html b/docs/module-driver.html index a478836..889c66c 100644 --- a/docs/module-driver.html +++ b/docs/module-driver.html @@ -170,7 +170,7 @@ Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/module-helpers.html b/docs/module-helpers.html index bdc8fd9..48bba88 100644 --- a/docs/module-helpers.html +++ b/docs/module-helpers.html @@ -686,7 +686,7 @@ function name, eg isNumber

Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/module-node-query.html b/docs/module-node-query.html index 2f52658..1c5ba0a 100644 --- a/docs/module-node-query.html +++ b/docs/module-node-query.html @@ -358,7 +358,7 @@ Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/module-query-builder.html b/docs/module-query-builder.html index ac4aeeb..1b7a65d 100644 --- a/docs/module-query-builder.html +++ b/docs/module-query-builder.html @@ -5819,7 +5819,7 @@ prefixed with 'OR NOT'

Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/module-query-parser.html b/docs/module-query-parser.html index 9801a92..2169107 100644 --- a/docs/module-query-parser.html +++ b/docs/module-query-parser.html @@ -322,7 +322,7 @@ Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/modules.list.html b/docs/modules.list.html index 4bf805e..f09a73f 100644 --- a/docs/modules.list.html +++ b/docs/modules.list.html @@ -158,7 +158,7 @@ Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/node-query.js.html b/docs/node-query.js.html index b2b7855..24fe425 100644 --- a/docs/node-query.js.html +++ b/docs/node-query.js.html @@ -129,7 +129,7 @@ module.exports = nodeQuery.init; Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/query-builder.js.html b/docs/query-builder.js.html index 9949fed..f98a04e 100644 --- a/docs/query-builder.js.html +++ b/docs/query-builder.js.html @@ -696,10 +696,10 @@ var QueryBuilder = function(driver, adapter) { * @return this */ this.groupBy = function(field) { - if (Array.isArray(field)) + if ( ! helpers.isScalar(field)) { var newGroupArray = field.map(driver.quoteIdentifiers); - state.groupArray.concat(newGroupArray); + state.groupArray = state.groupArray.concat(newGroupArray); } else { @@ -962,7 +962,7 @@ module.exports = QueryBuilder; Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/docs/query-parser.js.html b/docs/query-parser.js.html index d930381..2cbcf21 100644 --- a/docs/query-parser.js.html +++ b/docs/query-parser.js.html @@ -181,7 +181,7 @@ module.exports = QueryParser; Documentation generated by JSDoc 3.3.0-alpha9 - on Mon Oct 27th 2014 using the DocStrap template. diff --git a/lib/query-builder.js b/lib/query-builder.js index 030c46b..71256b5 100755 --- a/lib/query-builder.js +++ b/lib/query-builder.js @@ -273,8 +273,8 @@ var QueryBuilder = function(driver, adapter) { { sql = _p.compile(type, table); } -console.log(sql); -console.log('------------------------'); +//console.log(sql); +//console.log('------------------------'); if ( ! vals) {