prorm API Reference
    Preparing search index...

    Function applyDefaultValues

    • Apply default values to a model instance. Call this in beforeCreate/beforeUpdate hooks.

      Parameters

      • instance: any

        The model instance

      Returns void