Skip to content

docs: make Model Event Parameters description more precise #9127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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