Comparing version 1.2.0 to 1.3.0
@@ -44,2 +44,5 @@ /* SQB | ||
}, | ||
btw: function() { | ||
return construct(require('./sqlobject/operators/OpBetween'), arguments); | ||
}, | ||
in: function() { | ||
@@ -66,10 +69,22 @@ return construct(require('./sqlobject/operators/OpIn'), arguments); | ||
}, | ||
nbtw: function() { | ||
return construct(require('./sqlobject/operators/OpNotBetween'), arguments); | ||
}, | ||
notIn: function() { | ||
return construct(require('./sqlobject/operators/OpNotIn'), arguments); | ||
}, | ||
nin: function() { | ||
return construct(require('./sqlobject/operators/OpNotIn'), arguments); | ||
}, | ||
notLike: function() { | ||
return construct(require('./sqlobject/operators/OpNotLike'), arguments); | ||
}, | ||
nlike: function() { | ||
return construct(require('./sqlobject/operators/OpNotLike'), arguments); | ||
}, | ||
notILike: function() { | ||
return construct(require('./sqlobject/operators/OpNotILike'), arguments); | ||
}, | ||
nilike: function() { | ||
return construct(require('./sqlobject/operators/OpNotILike'), arguments); | ||
} | ||
@@ -76,0 +91,0 @@ }, |
@@ -14,3 +14,2 @@ /* SQB | ||
const CompOperator = require('./CompOperator'); | ||
const Serializable = require('../../Serializable'); | ||
@@ -30,2 +29,6 @@ /** | ||
function OpNotBetween(expression, val1, val2) { | ||
if (Array.isArray(val1)) { | ||
val2 = val1[1]; | ||
val1 = val1[0]; | ||
} | ||
CompOperator.apply(this, [expression, val1, val2 || val1]); | ||
@@ -32,0 +35,0 @@ } |
{ | ||
"name": "sqb", | ||
"description": "Extensible, multi-dialect SQL query builder and Database connection framework for JavaScript", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"author": "Panates Ltd.", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
126845
4292