Socket
Socket
Sign inDemoInstall

mongoose-multitenant

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-multitenant - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

README.md

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc