@@ -587,25 +587,36 @@ passed to each event:
587587================ =========================================================================================================
588588Event $data contents
589589================ =========================================================================================================
590- beforeInsert **data ** = the key/value pairs that are being inserted. If an object or Entity class is passed to the insert
591- method, it is first converted to an array.
592- afterInsert **data ** = the original key/value pairs being inserted. **result ** = the results of the insert() method
593- used through the Query Builder.
594- beforeUpdate **id ** = the primary key of the row being updated. **data ** = the key/value pairs that are being
595- inserted. If an object or Entity class is passed to the insert method, it is first converted to an array.
596- afterUpdate **id ** = the primary key of the row being updated. **data ** = the original key/value pairs being updated.
597- **result ** = the results of the update() method used through the Query Builder.
598- afterFind Varies by find* method. See the following:
599- - find() **id ** = the primary key of the row being searched for. **data ** = The resulting row of data, or null if
600- no result found.
601- - findWhere() **data ** = the resulting rows of data, or null if no result found.
602- - findAll() **data ** = the resulting rows of data, or null if no result found. **limit ** = the number of rows to find.
603- **offset ** = the number of rows to skip during the search.
604- - first() **data ** = the resulting row found during the search, or null if none found.
605- afterDelete Varies by delete* method. See the following:
606- - delete() **id ** = primary key of row being deleted. **purge ** boolean whether soft-delete rows should be
607- hard deleted. **result ** = the result of the delete() call on the Query Builder. **data ** = unused.
608- - deleteWhere() **key **/**value ** = the key/value pair used to search for rows to delete. **purge ** boolean whether
609- soft-delete rows should be hard deleted. **result ** = the result of the delete() call on the Query
610- Builder. **data ** = unused.
590+ beforeInsert **data ** = the key/value pairs that are being inserted. If an object or Entity class is passed to the
591+ insert method, it is first converted to an array.
592+ afterInsert **data ** = the original key/value pairs being inserted.
593+ **result ** = the results of the insert() method used through the Query Builder.
594+ beforeUpdate **id ** = the primary key of the row being updated.
595+ **data ** = the key/value pairs that are being inserted. If an object or Entity class is passed to the
596+ insert method, it is first converted to an array.
597+ afterUpdate **id ** = the primary key of the row being updated.
598+ **data ** = the original key/value pairs being updated.
599+ **result ** = the results of the update() method used through the Query Builder.
600+ afterFind Varies by find* method. See the following:
601+ - find() **id ** = the primary key of the row being searched for.
602+ **data ** = The resulting row of data, or null if no result found.
603+ - findWhere() **data ** = the resulting rows of data, or null if no result found.
604+ - findAll() **data ** = the resulting rows of data, or null if no result found.
605+ **limit ** = the number of rows to find.
606+ **offset ** = the number of rows to skip during the search.
607+ - first() **data ** = the resulting row found during the search, or null if none found.
608+ beforeDelete Varies by delete* method. See the following:
609+ - delete() **id ** = primary key of row being deleted.
610+ **purge ** = boolean whether soft-delete rows should be hard deleted.
611+ - deleteWhere() **key **/**value ** = the key/value pair used to search for rows to delete.
612+ **purge ** = boolean whether soft-delete rows should be hard deleted.
613+ afterDelete Varies by delete* method. See the following:
614+ - delete() **id ** = primary key of row being deleted.
615+ **purge ** = boolean whether soft-delete rows should be hard deleted.
616+ **result ** = the result of the delete() call on the Query Builder.
617+ **data ** = unused.
618+ - deleteWhere() **key **/**value ** = the key/value pair used to search for rows to delete.
619+ **purge ** boolean whether soft-delete rows should be hard deleted.
620+ **result ** = the result of the delete() call on the Query Builder.
621+ **data ** = unused.
611622================ =========================================================================================================
0 commit comments