prorm API Reference
    Preparing search index...

    Interface DropFunctionOptions

    Options for dropping a user-defined function

    interface DropFunctionOptions {
        ifExists?: boolean;
        cascade?: boolean;
        schema?: string;
        paramTypes?: string[];
    }
    Index
    ifExists?: boolean

    If true, does not throw error if function does not exist

    cascade?: boolean

    If true, also drops dependent objects (CASCADE)

    schema?: string

    Schema (for PostgreSQL/CockroachDB)

    paramTypes?: string[]

    Explicit argument type signature for the function (e.g. ['INT', 'TEXT']). Required to disambiguate overloaded functions sharing the same name but different argument types.