WeivData API Reference | ExWeiv Apps
    Preparing search index...

    Type Alias HookName

    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"

    Currently all supported hooks:

    onFailure hook is only triggered if error happens inside of the hooks it does not triggered by every error action.