| Class | FlexiRecord::IsolationLevel |
| In: |
lib/flexirecord.rb
|
| Parent: | Object |
Transaction isolation levels are represented by (constant) IsolationLevel objects:
| ReadUncommitted | = | new(0, :read_uncommitted, 'READ UNCOMMITTED', 'ReadUncommitted') |
| ReadCommitted | = | new(1, :read_committed, 'READ COMMITTED', 'ReadCommitted') |
| RepeatableRead | = | new(2, :repeatable_read, 'REPEATABLE READ', 'RepeatableRead') |
| Serializable | = | new(3, :serializable, 'SERIALIZABLE', 'Serializable') |
Returns an IsolationLevel object, matching one of these symbols:
Compares the isolation level with another. (Isolation levels providing fewer isolation are considered smaller.)