Skip to content

Commit

Permalink
docs: improved description of beforeDelete and afterDelete model even…
Browse files Browse the repository at this point in the history
…ts (#9459)
  • Loading branch information
michalsn authored Feb 23, 2025
1 parent 0ee6ade commit d8be763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_guide_src/source/models/model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1016,9 +1016,9 @@ beforeFind The name of the calling **method**, whether a **singleton** wa
- ``findAll()`` **limit** = the number of rows to find.
**offset** = the number of rows to skip during the search.
afterFind Same as **beforeFind** but including the resulting row(s) of data, or null if no result found.
beforeDelete **id** = primary key of row being passed to the ``delete()`` method.
beforeDelete **id** = an array of primary key rows being passed to the ``delete()`` method.
**purge** = boolean whether soft-delete rows should be hard deleted.
afterDelete **id** = primary key of row being passed to the ``delete()`` method.
afterDelete **id** = an array of primary key rows being passed to the ``delete()`` method.
**purge** = boolean whether soft-delete rows should be hard deleted.
**result** = the result of the ``delete()`` call on the Query Builder.
**data** = unused.
Expand Down

0 comments on commit d8be763

Please sign in to comment.