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/hooks.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1956,7 +1956,7 @@ Flag records as logically deleted instead of physically removing them. Requires
1956
1956
|`deletedQuery`|`Function|Object`|`{ deleted: { $ne: true } }`| An object or asyncfunction that takes the query which returns the part of the query to exclude deleted entrie
1957
1957
| `removeData` | `Function|Object` | `{ deleted: true }` | An object or asyncfunction that returns the data used to flag an entry as deleted
1958
1958
1959
-
By default, `softDelete` queries for a `deleted` property not set to `true` (meaningitcaneitherexistofbeanythingelse).
1959
+
By default, `softDelete` queries for a `deleted` property not set to `true` (meaningitcaneitherexistorbeanythingelse).
1960
1960
1961
1961
Setting `params.disableSoftDelete` to `true` allows to skip the `softDelete` hook.
0 commit comments