prorm API Reference
    Preparing search index...

    Function SqlFunction

    • Mark a method as a SQL function (returns a value, usable in SELECT/WHERE).

      The decorated method is a no-op at runtime — use ProcedureRegistry.call() to execute the actual database function.

      Parameters

      Returns (target: any, propertyKey: string, _descriptor: PropertyDescriptor) => void