MLE Foreign Function Interface (FFI): API for calling PL/SQL functionality directly(mle-js-plsql-ffi)
    Preparing search index...

    Interface DBSubprogram

    JavaScript representation of a PL/SQL subprogram.

    interface DBSubprogram {
        overrideReturnType(dbType: string | number | ReturnInfo): DBSubprogram;
        (...arg: any[]): any;
    }
    • Parameters

      • ...arg: any[]

      Returns any

    Index

    Methods

    • Override the return type of the subprogram. If the subprogram being represented is a procedure this has no effect.

      Parameters

      • dbType: string | number | ReturnInfo

        the database type. This needs to be either an oracledb type constant or a string containing the name of a user defined database type (only for named types like records and objects). If more info needs to be specified ReturnInfo can be used.

      Returns DBSubprogram

      Type names are case-sensitive.