Skip to content

Commit

Permalink
docs: fix softDelete table (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdartic authored May 4, 2023
1 parent 072270f commit eeb167a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,7 @@ Flag records as logically deleted instead of physically removing them. Requires

- **Arguments**

| Argument | Type | Default | Description |
| Argument | Type | Default | Description | |
| -------------- | --------- | ------- | ---------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `deletedQuery` | `Function | Object` | `{ deleted: { $ne: true } }` | An object or async function that takes the query which returns the part of the query to exclude deleted entrie |
| `removeData` | `Function | Object` | `{ deleted: true }` | An object or async function that returns the data used to flag an entry as deleted |
Expand Down

0 comments on commit eeb167a

Please sign in to comment.