--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: convert_two_digit_years
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: datetime_class
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: virtual_row_instance_eval
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: Model
- !ruby/object:RI::MethodSummary 
  name: condition_specifier?
- !ruby/object:RI::MethodSummary 
  name: connect
- !ruby/object:RI::MethodSummary 
  name: convert_exception_class
- !ruby/object:RI::MethodSummary 
  name: extension
- !ruby/object:RI::MethodSummary 
  name: identifier_input_method=
- !ruby/object:RI::MethodSummary 
  name: identifier_output_method=
- !ruby/object:RI::MethodSummary 
  name: inflections
- !ruby/object:RI::MethodSummary 
  name: load_gem
- !ruby/object:RI::MethodSummary 
  name: quote_identifiers=
- !ruby/object:RI::MethodSummary 
  name: require
- !ruby/object:RI::MethodSummary 
  name: single_threaded=
- !ruby/object:RI::MethodSummary 
  name: string_to_date
- !ruby/object:RI::MethodSummary 
  name: string_to_datetime
- !ruby/object:RI::MethodSummary 
  name: string_to_time
- !ruby/object:RI::MethodSummary 
  name: version
- !ruby/object:RI::MethodSummary 
  name: virtual_row
comment: 
- !ruby/struct:SM::Flow::P 
  body: "The thread_local_timezones extension allows you to set a per-thread timezone that will override the default global timezone while the thread is executing. The main use case is for web applications that execute each request in its own thread, and want to set the timezones based on the request. The most common example is having the database always store time in UTC, but have the application deal with the timezone of the current user. That can be done with:"
- !ruby/struct:SM::Flow::VERB 
  body: "  Sequel.database_timezone = :utc\n  # In each thread:\n  Sequel.thread_application_timezone = current_user.timezone\n"
- !ruby/struct:SM::Flow::P 
  body: This extension is designed to work with the named_timezones extension.
- !ruby/struct:SM::Flow::P 
  body: This extension adds the thread_application_timezone=, thread_database_timezone=, and thread_typecast_timezone= methods to the Sequel module. It overrides the application_timezone, database_timezone, and typecast_timezone methods to check the related thread local timezone first, and use it if present. If the related thread local timezone is not present, it falls back to the default global timezone.
- !ruby/struct:SM::Flow::P 
  body: "There is one special case of note. If you have a default global timezone and you want to have a nil thread local timezone, you have to set the thread local value to :nil instead of nil:"
- !ruby/struct:SM::Flow::VERB 
  body: "  Sequel.application_timezone = :utc\n  Sequel.thread_application_timezone = nil\n  Sequel.application_timezone # =&gt; :utc\n  Sequel.thread_application_timezone = :nil\n  Sequel.application_timezone # =&gt; nil\n"
constants: 
- !ruby/object:RI::Constant 
  comment: 
  name: SELECT_SERIAL_SEQUENCE
  value: "proc do |schema, table| <<-end_sql         SELECT  '\"' || name.nspname || '\".' || seq.relname || ''         FROM pg_class seq, pg_attribute attr, pg_depend dep,           pg_namespace name, pg_constraint cons         WHERE seq.oid = dep.objid           AND seq.relnamespace  = name.oid           AND seq.relkind = 'S'           AND attr.attrelid = dep.refobjid           AND attr.attnum = dep.refobjsubid           AND attr.attrelid = cons.conrelid           AND attr.attnum = cons.conkey[1]           AND cons.contype = 'p'           #{\"AND name.nspname = '#{schema}'\" if schema}           AND seq.relname = '#{table}'       end_sql"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Hash of adapters that have been used. The key is the adapter scheme symbol, and the value is the Database subclass.
  name: ADAPTER_MAP
  value: "{}"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Array of all databases to which Sequel has connected. If you are developing an application that can connect to an arbitrary number of databases, delete the database objects from this or they will not get garbage collected.
  name: DATABASES
  value: "[]"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Proc that is instance evaled to create the default inflections for both the model inflector and the inflector extension.
  name: DEFAULT_INFLECTIONS_PROC
  value: lambda do     plural(/$/, 's')
- !ruby/object:RI::Constant 
  comment: 
  name: MAJOR
  value: "3"
- !ruby/object:RI::Constant 
  comment: 
  name: MINOR
  value: "6"
- !ruby/object:RI::Constant 
  comment: 
  name: TINY
  value: "0"
- !ruby/object:RI::Constant 
  comment: 
  name: VERSION
  value: "[MAJOR, MINOR, TINY].join('.')"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The offset of the current time zone from UTC, in seconds.
  name: LOCAL_DATETIME_OFFSET_SECS
  value: Time.now.utc_offset
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The offset of the current time zone from UTC, as a fraction of a day.
  name: LOCAL_DATETIME_OFFSET
  value: "respond_to?(:Rational, true) ? Rational(LOCAL_DATETIME_OFFSET_SECS, 60*60*24) : LOCAL_DATETIME_OFFSET_SECS/60/60/24.0"
full_name: Sequel
includes: 
- !ruby/object:RI::IncludedModule 
  name: SQL::Constants
instance_methods: []

name: Sequel
superclass: 
