Skip to content
David Joseph edited this page Nov 11, 2021 · 1 revision

Options

Required

apiModel: A mongoose.model indicating the resource for CRUD operations to be performed.

modelName: A string representing the extended URL at which the resource can be accessed.

Optional

router: An instance of a custom Router class. If empty, the default Router which has basic CRUD operations, will be used.

Functions

getModelData: Used to retrieve an object with the details in the ModelData instance.

Clone this wiki locally