Skip to content

Latest commit

 

History

History
149 lines (107 loc) · 4.04 KB

README.md

File metadata and controls

149 lines (107 loc) · 4.04 KB

supergoose Build Status

Mongoose simple plugin adding some handy functions.

Model functions

Relationship creator functions

Installation

npm install supergoose

Usage

Initialization

Use mongoose's plugin method to extend your models with supergoose

var supergoose = require('supergoose')
var ClickSchema = new Schema({ ... });
ClickSchema.plugin(supergoose, [options]);
var Click = mongoose.model('Click', ClickSchema)

Arguments