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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Constructs a new instance of a database connection with the specified options hash.
- !ruby/struct:SM::Flow::P 
  body: Sequel::Database is an abstract class that is not useful by itself.
- !ruby/struct:SM::Flow::P 
  body: "Takes the following options:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":default_schema : The default schema to use, should generally be nil"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":disconnection_proc: A proc used to disconnect the connection."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":identifier_input_method: A string method symbol to call on identifiers going into the database"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":identifier_output_method: A string method symbol to call on identifiers coming from the database"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":loggers : An array of loggers to use."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":quote_identifiers : Whether to quote identifiers"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":single_threaded : Whether to use a single-threaded connection pool"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":upcase_identifiers : Whether to upcase identifiers going into the database"
  type: :BULLET
- !ruby/struct:SM::Flow::P 
  body: All options given are also passed to the ConnectionPool. If a block is given, it is used as the connection_proc for the ConnectionPool.
full_name: Sequel::Database::new
is_singleton: true
name: new
params: (opts = {}, &block)
visibility: public
