prorm API Reference
    Preparing search index...

    Interface AlterEventOptions

    Options for altering an event

    interface AlterEventOptions {
        name: string;
        schedule?: EventSchedule;
        body?: string;
        schema?: string;
        status?: "ENABLED" | "DISABLED";
        comment?: string;
    }
    Index
    name: string

    Event name

    schedule?: EventSchedule

    New schedule

    body?: string

    New body

    schema?: string

    Schema (for MySQL database)

    status?: "ENABLED" | "DISABLED"

    Enable or disable the event

    comment?: string

    Comment