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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Executes a <tt>BEGIN</tt> at the start of the block, and a <tt>COMMIT</tt> at the end of the block, or <tt>ROLLBACK</tt> if any exception occurs.
full_name: PGconn#transaction
is_singleton: false
name: transaction
params: |
  conn.transaction { |conn| ... } -> nil

visibility: public
