HookName:
| "afterCount"
| "afterGet"
| "afterInsert"
| "afterQuery"
| "afterRemove"
| "afterUpdate"
| "beforeCount"
| "beforeGet"
| "beforeInsert"
| "beforeQuery"
| "beforeRemove"
| "beforeUpdate"
| "onFailure"
| "beforeReplace"
| "afterReplace"
| "beforeFindOne"
| "afterFindOne"
| "beforeGetAndUpdate"
| "afterGetAndUpdate"
| "beforeGetAndReplace"
| "afterGetAndReplace"
| "beforeGetAndRemove"
| "afterGetAndRemove"
| "beforeIncrement"
| "afterIncrement"
| "beforeMultiply"
| "afterMultiply"
| "beforePush"
| "afterPush"
| "beforePull"
| "afterPull"
Description
Currently all supported hooks:
Note
onFailure hook is only triggered if error happens inside of the hooks it does not triggered by every error action.