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.cr

Enum Members

ReadCommitted = 0
RepeatableRead = 1
Serializable = 2

Instance Method Summary

Instance Method Detail

def read_committed? #

[View source]
def repeatable_read? #

[View source]
def serializable? #

[View source]