Instance methods for SQLite Database objects accessed via DataObjects.
Default to a single connection for a memory database.
# File lib/sequel/adapters/do/sqlite.rb, line 14 14: def connection_pool_default_options 15: o = super 16: uri == 'sqlite3::memory:' ? o.merge(:max_connections=>1) : o 17: end
Execute the connection pragmas on the connection
# File lib/sequel/adapters/do/sqlite.rb, line 20 20: def setup_connection(conn) 21: connection_pragmas.each do |s| 22: com = conn.create_command(s) 23: log_yield(s){com.execute_non_query} 24: end 25: super 26: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.