First page Back Continue Last page Overview Text

Notes:


The basic transaction support looks much like other ruby database libraries.

The database object has a transaction method that takes a block. The block is called inside a transaction. If the block raises an exception, the transaction rolls back. Otherwise, the transaction is committed.