Skip to content

Commit 92337f2

Browse files
authored
Merge pull request #9127 from kenjis/docs-model-afterUpdate-id
docs: make Model Event Parameters description more precise
2 parents f2e560f + 861df58 commit 92337f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

user_guide_src/source/models/model.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -986,10 +986,10 @@ beforeInsert **data** = the key/value pairs that are being inserted. If an
986986
afterInsert **id** = the primary key of the new row, or 0 on failure.
987987
**data** = the key/value pairs being inserted.
988988
**result** = the results of the ``insert()`` method used through the Query Builder.
989-
beforeUpdate **id** = the array of primary keys of the rows being updated.
989+
beforeUpdate **id** = the array of primary keys of the rows being passed to the ``update()`` method.
990990
**data** = the key/value pairs that are being updated. If an object or Entity class is passed to the
991991
``update()`` method, it is first converted to an array.
992-
afterUpdate **id** = the array of primary keys of the rows being updated.
992+
afterUpdate **id** = the array of primary keys of the rows being passed to the ``update()`` method.
993993
**data** = the key/value pairs being updated.
994994
**result** = the results of the ``update()`` method used through the Query Builder.
995995
beforeFind The name of the calling **method**, whether a **singleton** was requested, and these additional fields:

0 commit comments

Comments
 (0)