Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Added parenthesis to where clause when SQL is assembled.
Browse files Browse the repository at this point in the history
  • Loading branch information
kalifg committed Aug 14, 2012
1 parent 9727ef5 commit 2f6b430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dbSelect.js
Expand Up @@ -364,7 +364,7 @@ DBSelect.prototype.assemble = DBSelect.prototype.toString = function()
}

startGroups = 0;
sql += whereString;
sql += '(' + whereString + ')';
}
}

Expand Down

0 comments on commit 2f6b430

Please sign in to comment.