xpress-mongo
Advanced tools
Comparing version 2.9.3 to 2.9.4
{ | ||
"name": "xpress-mongo", | ||
"version": "2.9.3", | ||
"version": "2.9.4", | ||
"description": "Light Weight ODM for mongoDb NodeJs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -178,4 +178,8 @@ import ObjectCollection from "object-collection"; | ||
private $setOriginal; | ||
private $appendData; | ||
/** | ||
* Appends static `appends` to the model | ||
* @param append | ||
*/ | ||
$appendData(append?: string[]): this; | ||
/** | ||
* Set multiple schemas and use them at anytime using `.setSchema` | ||
@@ -182,0 +186,0 @@ * @param {string} name |
@@ -237,3 +237,3 @@ "use strict"; | ||
static make(data = {}) { | ||
return new this().set(data).$appendData(); | ||
return new this().set(data); | ||
} | ||
@@ -275,2 +275,6 @@ /** | ||
} | ||
/** | ||
* Appends static `appends` to the model | ||
* @param append | ||
*/ | ||
$appendData(append) { | ||
@@ -277,0 +281,0 @@ // Get Append |
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
111957
3436