prorm API Reference
    Preparing search index...

    Interface UpdateOptions

    Options for updating rows: the where that selects them, which fields may be written, and whether hooks run per row.

    interface UpdateOptions {
        where: WhereOptions;
        limit?: number;
        validate?: boolean;
        fields?: string[];
        returning?: boolean | string[];
        sideEffects?: boolean;
        omitNull?: boolean;
        hooks?: boolean;
        individualHooks?: boolean;
        benchmark?: boolean;
        logging?: boolean | ((sql: string, time?: number) => void);
        using?: string;
        transaction?: Transaction;
    }

    Hierarchy (View Summary)

    Index
    limit?: number
    validate?: boolean
    fields?: string[]
    returning?: boolean | string[]
    sideEffects?: boolean
    omitNull?: boolean
    hooks?: boolean
    individualHooks?: boolean
    benchmark?: boolean
    logging?: boolean | ((sql: string, time?: number) => void)
    using?: string

    Connection name to use for this query Allows querying a different database connection

    transaction?: Transaction