Interface PostgresTransactionOptions

How a PostgreSQL transaction begins. Left out, each mode is the server's default.

interface PostgresTransactionOptions {
    isolationLevel?: PostgresIsolationLevel;
    readOnly?: boolean;
    deferrable?: boolean;
}

Properties

isolationLevel?: PostgresIsolationLevel

BEGIN ISOLATION LEVEL .... The server's default is read committed unless configured otherwise.

readOnly?: boolean

READ ONLY when true, READ WRITE when false.

deferrable?: boolean

DEFERRABLE when true, NOT DEFERRABLE when false. It changes only serializable read-only transactions.