Parent

Methods

Class/Module Index [+]

Quicksearch

Amalgalite::Database::TransactionBehavior

container class for holding transaction behavior constants. These are the SQLite values passed to a START TRANSACTION SQL statement.

Constants

DEFERRED

no read or write locks are created until the first statement is executed that requries a read or a write

EXCLUSIVE

a read+write lock is obtained, no other proces can read or write to the database

IMMEDIATE

a readlock is obtained immediately so that no other process can write to the database

VALID

list of valid transaction behavior constants

Public Class Methods

valid?( mode ) click to toggle source

is the given mode a valid transaction mode

# File lib/amalgalite/database.rb, line 76
def self.valid?( mode )
  VALID.include? mode
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.