Libraries v5.2.0
    Preparing search index...

    Interface TransactionOptions

    Options applied before a transaction callback runs.

    interface TransactionOptions {
        advisoryLocks?: readonly string[];
    }
    Index
    advisoryLocks?: readonly string[]

    PostgreSQL transaction-scoped advisory locks. Use stable, namespaced keys. Keys are deduplicated and sorted to give overlapping batches a consistent acquisition order. Locks remain held until the owning transaction ends; they do not replace row constraints or authorization.