Constructor
# new Resource(MongooseModel)
Initialize the class with the Resource name
Parameters:
Name | Type | Description |
---|---|---|
MongooseModel |
MongooseModel
|
Class which subclass mongoose.Model |