--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: (conn)
comment: 
- !ruby/struct:SM::Flow::P 
  body: Starts a database transaction. When a database transaction is used, either all statements are successful or none of the statements are successful. Note that MySQL MyISAM tabels do not support transactions.
- !ruby/struct:SM::Flow::P 
  body: "The following options are respected:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":server - The server to use for the transaction"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":savepoint - Whether to create a new savepoint for this transaction, only respected if the database adapter supports savepoints. By default Sequel will reuse an existing transaction, so if you want to use a savepoint you must use this option."
  type: :BULLET
full_name: Sequel::Database#transaction
is_singleton: false
name: transaction
params: (opts={}, &block) {|conn| ...}
visibility: public
