Function defaultValueMiddleware

  • Type Parameters

    • T extends DAOGenerics<any, any, any, any, any, any, any, any, any, any, any, any, any, AbstractEntityManager<string, string, any, any>, T>

    • K extends string | number | symbol

    Parameters

    • field: K
    • value: ((metadata: undefined | T["metadata"]) => T["plainModel"][K])
        • (metadata: undefined | T["metadata"]): T["plainModel"][K]
        • Parameters

          • metadata: undefined | T["metadata"]

          Returns T["plainModel"][K]

    Returns DAOMiddleware<T>

Generated using TypeDoc