Skip to content

Commit

Permalink
[skip ci][doc] update events
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheron committed Apr 16, 2022
1 parent 7dee6fb commit 3840de1
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/events/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,18 @@ These events are relatively few in number, to limit their impact on performance.
+-----------------+-----------------+---------------------------+------------------------------------------------------------------------+
|DAOEvents |GET_ONE | object, classname |After loading one object |
+-----------------+-----------------+---------------------------+------------------------------------------------------------------------+
|DAOEvents |UPDATE | instance, result |After updating an object |
|DAOEvents |BEFORE_UPDATE | instance |Before updating an object |
+-----------------+-----------------+---------------------------+------------------------------------------------------------------------+
|DAOEvents |INSERT | instance, result |After inserting an object |
|DAOEvents |AFTER_UPDATE | instance, result |After updating an object |
+-----------------+-----------------+---------------------------+------------------------------------------------------------------------+
|DAOEvents |BEFORE_INSERT | instance |Before inserting an object |
+-----------------+-----------------+---------------------------+------------------------------------------------------------------------+
|DAOEvents |AFTER_INSERT | instance, result |After inserting an object |
+-----------------+-----------------+---------------------------+------------------------------------------------------------------------+
|RestEvents |BEFORE_INSERT | instance |Before inserting an object |
+-----------------+-----------------+---------------------------+------------------------------------------------------------------------+
|RestEvents |BEFORE_UPDATE | instance |Before updating an object |
+-----------------+-----------------+---------------------------+------------------------------------------------------------------------+

.. note::
There is no **BeforeAction** and **AfterAction** event, since the **initialize** and **finalize** methods of the controller class perform this operation.

Expand Down

0 comments on commit 3840de1

Please sign in to comment.