Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added parenthesis to where clause when SQL is assembled.

  • Loading branch information...
commit 2f6b43091245d508e9cea4e8e1bafe92ad8b24bd 1 parent 9727ef5
@kalifg kalifg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/dbSelect.js
View
2  lib/dbSelect.js
@@ -364,7 +364,7 @@ DBSelect.prototype.assemble = DBSelect.prototype.toString = function()
}
startGroups = 0;
- sql += whereString;
+ sql += '(' + whereString + ')';
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.