sqlquerybuilder
Advanced tools
Comparing version 0.0.60 to 0.0.61
@@ -208,6 +208,10 @@ var _ = require('lodash'), | ||
if (opIndex != -1) { | ||
reference = subFilter.substr(1, opIndex - 1); | ||
var data = subFilter.match(/(?:\(|)([^=]*)==([^\)]*)/); | ||
console.log(data); | ||
if(data === null) continue; | ||
reference = data[1]; | ||
var compareTo = data[2]; | ||
whereString += "(" + self._whereJoin(reference) + | ||
" = " + | ||
convertTrueFalse(subFilter.substr(opIndex + 2, subFilter.length - opIndex - 3)) + | ||
convertTrueFalse(compareTo) + | ||
")"; | ||
@@ -214,0 +218,0 @@ continue; |
{ | ||
"name": "sqlquerybuilder", | ||
"version": "0.0.60", | ||
"version": "0.0.61", | ||
"description": "Highly opinionated Sql Server Query Writer, mostly for internal use.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
241699
4817