prorm API Reference
    Preparing search index...

    Type Alias PrivilegeScope

    PrivilegeScope:
        | { level: "global" }
        | { level: "database"; database: string }
        | { level: "table"; database?: string; table: string }
        | { level: "column"; database?: string; table: string; columns: string[] }
        | {
            level: "routine";
            database?: string;
            routine: string;
            routineType?: "FUNCTION" | "PROCEDURE";
        }