This repository has been archived by the owner on Jul 8, 2019. It is now read-only.
[feature]
: Explicit initialisation is now optional. Ifinitialise()
is not called, the default 'IdCounter' collection will be used.- This also means that
applyPlugin()
will no longer throw if initialisation hasn't been performed yet.
- This also means that
[feature]
: It's now possible to use the plugin via the schema:schema.plugin(MongooseAutoIncrementID.plugin, {modelName: 'MyModel'});
[documentation]
: Several typos have been fixed.