prorm API Reference
    Preparing search index...

    Interface DropPolicyOptions

    Options for dropping a policy

    interface DropPolicyOptions {
        ifExists?: boolean;
        cascade?: boolean;
        schema?: string;
    }
    Index
    ifExists?: boolean

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

    cascade?: boolean

    If true, also drops dependent objects (CASCADE)

    schema?: string

    Schema (for PostgreSQL)