Skip to content

Commit df31656

Browse files
committed
docs(middleware): update document middleware list
1 parent a47ac98 commit df31656

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/middleware.pug

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ block content
4444
Document middleware is supported for the following document functions.
4545
In document middleware functions, `this` refers to the document.
4646

47-
* [validate](./api.html#document_Document-validate)
48-
* [save](./api.html#model_Model-save)
49-
* [remove](./api.html#model_Model-remove)
50-
* [init](./api.html#document_Document-init) (note: init hooks are [synchronous](#synchronous))
47+
* [validate](/docs/api/document.html#document_Document-validate)
48+
* [save](/docs/api/model.html#model_Model-save)
49+
* [remove](/docs/api/model.html#model_Model-remove)
50+
* [updateOne](/docs/api/document.html#document_Document-updateOne)
51+
* [deleteOne](/docs/api/model.html#model_Model-deleteOne)
52+
* [init](/docs/api/document.html#document_Document-init) (note: init hooks are [synchronous](#synchronous))
5153

5254
Query middleware is supported for the following Model and Query functions.
5355
In query middleware functions, `this` refers to the query.

0 commit comments

Comments
 (0)