Beignet API reference
    Preparing search index...

    Type Alias RunDatabaseCommandOptions

    Options for running a database lifecycle command.

    type RunDatabaseCommandOptions = {
        captureOutput?: boolean;
        command: DatabaseCommand;
        cwd?: string;
        dryRun?: boolean;
        maxOutputBytes?: number;
        signal?: AbortSignal;
        timeoutMs?: number;
    }
    Index
    captureOutput?: boolean
    cwd?: string
    dryRun?: boolean
    maxOutputBytes?: number

    Keep only the last N bytes from each output stream.

    signal?: AbortSignal

    Cancel the app-owned database script when the owning request aborts.

    timeoutMs?: number

    Stop the app-owned database script after this many milliseconds.