enum
Clear::SQL::Transaction::Level
Overview
Represents the differents levels of transactions as described in https://www.postgresql.org/docs/9.5/transaction-iso.html
ReadUncommited is voluntarly ommited as it fallback to ReadCommited in PostgreSQL
Defined in:
clear/sql/transaction.crEnum Members
-
ReadCommitted =
0
-
RepeatableRead =
1
-
Serializable =
2
Instance Method Summary
-
#read_committed?
Returns
true
if this enum value equalsReadCommitted
-
#repeatable_read?
Returns
true
if this enum value equalsRepeatableRead
-
#serializable?
Returns
true
if this enum value equalsSerializable