@oridune/epic-odm
Advanced tools
Comparing version 1.0.47 to 1.0.48
{ | ||
"name": "@oridune/epic-odm", | ||
"version": "1.0.47", | ||
"version": "1.0.48", | ||
"description": "Install 1 ODM and code once with any database driver.", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Raw = exports.NotArrayEmpty = exports.IsArrayEmpty = exports.NotNull = exports.IsNull = exports.ReplaceWith = exports.Decrement = exports.Increment = exports.SetTo = exports.ObjectID = exports.NotBetween = exports.Between = exports.NotIn = exports.In = exports.Matches = exports.SmallerEqual = exports.GreaterEqual = exports.NotSmaller = exports.Smaller = exports.NotGreater = exports.Greater = exports.NotEqual = exports.IsEqual = exports.Operator = void 0; | ||
const mongodb_1 = __importDefault(require("mongodb")); | ||
class Operator { | ||
@@ -8,2 +12,4 @@ constructor(Type, Value) { | ||
this.Value = Value; | ||
if (this.Type === "ObjectID") | ||
this.Value = new mongodb_1.default.ObjectId(this.Value); | ||
} | ||
@@ -10,0 +16,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
112153
2250