manager.addMiddleware

Add a middleware to the middlewares chain.

Arguments

  1. middleware (function): the middleware to add the the chain

Example

db.addMiddleware(require('monk-plugin-dereference'))

results matching ""

    No results matching ""