Browse Source

refactor : removing prints

pull/8/head
oof1lab 7 years ago
parent
commit
9d016386e4
  1. 12
      lib/util/whereClause.helper.js

12
lib/util/whereClause.helper.js

@ -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

Loading…
Cancel
Save