ANSI SQL transaction isolation levels.
This is a companion enum for IsolationLevelString / the TransactionOptions.isolationLevel field. The field accepts both this enum and the raw string literals for backwards compatibility, so either of the following work:
IsolationLevelString
TransactionOptions.isolationLevel
transaction.start({ isolationLevel: 'SERIALIZABLE' }); Copy
transaction.start({ isolationLevel: 'SERIALIZABLE' });
transaction.start({ isolationLevel: IsolationLevel.Serializable }); Copy
transaction.start({ isolationLevel: IsolationLevel.Serializable });
ANSI SQL transaction isolation levels.
This is a companion enum for
IsolationLevelString/ theTransactionOptions.isolationLevelfield. The field accepts both this enum and the raw string literals for backwards compatibility, so either of the following work:Example
Example