@oridune/epic-odm
Advanced tools
Comparing version 1.0.64 to 1.0.65
{ | ||
"name": "@oridune/epic-odm", | ||
"version": "1.0.64", | ||
"version": "1.0.65", | ||
"description": "Install 1 ODM and code once with any database driver.", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -7,2 +7,3 @@ "use strict"; | ||
const graphql_1 = require("graphql"); | ||
const operators_1 = require("../operators"); | ||
class BaseModelStatic { | ||
@@ -98,7 +99,3 @@ static new(data) { | ||
where: { | ||
_id: { | ||
$in: (aggregate instanceof Array | ||
? aggregate | ||
: [aggregate]).map((_) => _._id), | ||
}, | ||
_id: (0, operators_1.In)((aggregate instanceof Array ? aggregate : [aggregate]).map((_) => _._id)), | ||
}, | ||
@@ -120,7 +117,3 @@ } | ||
where: { | ||
_id: { | ||
$in: (aggregate instanceof Array | ||
? aggregate | ||
: [aggregate]).map((_) => _._id), | ||
}, | ||
_id: (0, operators_1.In)((aggregate instanceof Array ? aggregate : [aggregate]).map((_) => _._id)), | ||
}, | ||
@@ -142,7 +135,3 @@ } | ||
where: { | ||
_id: { | ||
$in: (aggregate instanceof Array | ||
? aggregate | ||
: [aggregate]).map((_) => _._id), | ||
}, | ||
_id: (0, operators_1.In)((aggregate instanceof Array ? aggregate : [aggregate]).map((_) => _._id)), | ||
}, | ||
@@ -164,7 +153,3 @@ } | ||
where: { | ||
_id: { | ||
$in: (aggregate instanceof Array | ||
? aggregate | ||
: [aggregate]).map((_) => _._id), | ||
}, | ||
_id: (0, operators_1.In)((aggregate instanceof Array ? aggregate : [aggregate]).map((_) => _._id)), | ||
}, | ||
@@ -171,0 +156,0 @@ } |
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
117674
2449