jraede/mongoose-multitenant — pull request #2 by watnotte (2014-02-20 16:52:00+00:00)
Title: Collection naming adjustments

Hopefully I'm doing this right. I've added the logic to allow dots in the tenantId as well as a constructor that will allow optionally allow the user to set their own delimiter (but defaults to "__"). So you can do either:

`require('mongoose-multitenant');`

or

`require('mongoose-multitenant')('myDelimiterGoesHere');`