adonis-lucid-mongodb
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"scripts": { | ||
@@ -11,0 +11,0 @@ "lint": "standard", |
@@ -698,7 +698,3 @@ 'use strict' | ||
return function () { | ||
if (arguments.length >= 2) { | ||
target.modelQueryBuilder.where(arguments[0], arguments[1]) | ||
} else if (arguments.length === 1 && _.isString(arguments[0])) { | ||
return target.modelQueryBuilder.where(arguments[0]) | ||
} else if (arguments.length === 1 && _.isPlainObject(arguments[0])) { | ||
if (_.isPlainObject(arguments[0])) { | ||
const supportMethods = [ | ||
@@ -749,2 +745,4 @@ 'all', | ||
}) | ||
} else { | ||
target.modelQueryBuilder.where(arguments[0], arguments[1]) | ||
} | ||
@@ -751,0 +749,0 @@ return this |
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
228500
8161