txMode

Transaction Mode namespace, available as pgp.txMode, before and after initializing the library.

Extends the default BEGIN with Transaction Mode parameters:

  • isolation level
  • access mode
  • deferrable mode
Properties:
Name Type Description
TransactionMode function

TransactionMode class constructor.

isolationLevel txMode.isolationLevel

Transaction Isolation Level enumerator

Source:
See:

Classes

TransactionMode

Members

(static, constant) isolationLevel :number

Transaction Isolation Level.

The type is available from the txMode namespace.

Type:
  • number
Properties:
Name Type Description
none number

Isolation level not specified.

serializable number

ISOLATION LEVEL SERIALIZABLE

repeatableRead number

ISOLATION LEVEL REPEATABLE READ

readCommitted number

ISOLATION LEVEL READ COMMITTED

Source:
See: