mongoose-multitenant
Advanced tools
Comparing version 0.7.0 to 0.7.1
{ | ||
"name": "mongoose-multitenant", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Wrapper for Mongoose that allows for easy horizontal multitenancy (collection prefix per tenant)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -87,3 +87,3 @@ var barSchema, bazSchema, fooSchema, mongoose, multitenant, should, subSchema; | ||
fooClass = mongoose.mtModel('tenant1.Foo'); | ||
myFoo = new fooClass({ | ||
myFoo = new mongoose.mtModel('tenant1.Foo')({ | ||
title: 'My Foo' | ||
@@ -90,0 +90,0 @@ }); |
Sorry, the diff of this file is not supported yet
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
18095
8
1
99