refactor : removing prints

This commit is contained in:
oof1lab
2017-11-01 20:28:46 +00:00
parent b7b9cc3176
commit 9d016386e4

View File

@@ -141,7 +141,7 @@ exports.getWhereClause = function (whereInQueryParams, whereQuery, whereParams)
//console.log(result);
variable = result[0].match(/\(+(.*)/);
console.log('variable',variable);
// console.log('variable',variable);
if (!variable || variable.length !== 2) {
grammarErr = 1;
@@ -209,11 +209,11 @@ exports.getWhereClause = function (whereInQueryParams, whereQuery, whereParams)
obj['params'] = []
obj['err'] = grammarErr
console.log(whereInQueryParams);
console.log(whereQuery);
console.log(whereParams);
console.log(grammarErr);
console.log('= = = = = = = = =');
// console.log(whereInQueryParams);
// console.log(whereQuery);
// console.log(whereParams);
// console.log(grammarErr);
// console.log('= = = = = = = = =');
if (!grammarErr) {
obj['query'] = whereQuery