Skip to content

Commit

Permalink
Merge pull request #9127 from kenjis/docs-model-afterUpdate-id
Browse files Browse the repository at this point in the history
docs: make Model Event Parameters description more precise
  • Loading branch information
kenjis committed Aug 22, 2024
2 parents f2e560f + 861df58 commit 92337f2
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 @@ -986,10 +986,10 @@ beforeInsert **data** = the key/value pairs that are being inserted. If an
afterInsert **id** = the primary key of the new row, or 0 on failure.
**data** = the key/value pairs being inserted.
**result** = the results of the ``insert()`` method used through the Query Builder.
beforeUpdate **id** = the array of primary keys of the rows being updated.
beforeUpdate **id** = the array of primary keys of the rows being passed to the ``update()`` method.
**data** = the key/value pairs that are being updated. If an object or Entity class is passed to the
``update()`` method, it is first converted to an array.
afterUpdate **id** = the array of primary keys of the rows being updated.
afterUpdate **id** = the array of primary keys of the rows being passed to the ``update()`` method.
**data** = the key/value pairs being updated.
**result** = the results of the ``update()`` method used through the Query Builder.
beforeFind The name of the calling **method**, whether a **singleton** was requested, and these additional fields:
Expand Down

0 comments on commit 92337f2

Please sign in to comment.