outline |
---|
deep |
This method is enables plug-ins to add a new collection to the MongoDB database for storing data.
new Indiekit.addCollection(name);
name
: Collection name. This cannot share the name of a collection added by another plug-in. Indiekit currently adds 2 collections: posts
and media
.