Class DBI::DBD::SQLite::Database
In: lib/dbd/sqlite/database.rb
Parent: DBI::BaseDatabase

Methods

[]   []=   columns   commit   disconnect   new   ping   prepare   rollback   tables  

Attributes

attr_hash  [R] 
db  [R] 
open_handles  [RW] 

Public Class methods

Constructor. Valid attributes:

  • AutoCommit: Commit after every statement execution.

Public Instance methods

See DBI::BaseDatabase#[]=.

If AutoCommit is set to true using this method, was previously false, and we are currently in a transaction, The act of setting this will cause an immediate commit.

Rollback the transaction. SQLite has some issues with open statement handles when this happens. If there are still open handles, a DBI::Warning exception will be raised.

[Validate]