You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/middleware.md
+4
Original file line number
Diff line number
Diff line change
@@ -67,13 +67,17 @@ Model middleware is supported for the following model functions.
67
67
Don't confuse model middleware and document middleware: model middleware hooks into *static* functions on a `Model` class, document middleware hooks into *methods* on a `Model` class.
68
68
In model middleware functions, `this` refers to the model.
0 commit comments