Sha256: 712cbc4f19fc7225e7a9d966bc6676a0c0667e7d675dcfa349f59d4c89a954ae

Contents?: true

Size: 829 Bytes

Versions: 35

Compression:

Stored size: 829 Bytes

Contents

module Sequel
  # Hash of adapters that have been used. The key is the adapter scheme
  # symbol, and the value is the Database subclass.
  ADAPTER_MAP = {}
    
  # 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.
  DATABASES = []

  # A Database object represents a virtual connection to a database.
  # The Database class is meant to be subclassed by database adapters in order
  # to provide the functionality needed for executing queries.
  class Database
    extend Metaprogramming
    include Metaprogramming
  end

  require(%w"connecting dataset dataset_defaults logging misc query schema_generator schema_methods", 'database')
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
sequel-3.42.0 lib/sequel/database.rb
sequel-3.41.0 lib/sequel/database.rb
sequel-3.40.0 lib/sequel/database.rb
sequel-3.39.0 lib/sequel/database.rb
sequel-3.38.0 lib/sequel/database.rb
sequel-3.37.0 lib/sequel/database.rb
sequel-3.36.1 lib/sequel/database.rb
sequel-3.36.0 lib/sequel/database.rb
sequel-3.35.0 lib/sequel/database.rb
sequel-3.34.1 lib/sequel/database.rb
sequel-3.34.0 lib/sequel/database.rb
sequel-3.33.0 lib/sequel/database.rb
sequel-3.32.0 lib/sequel/database.rb
sequel-3.31.0 lib/sequel/database.rb
sequel-3.30.0 lib/sequel/database.rb
sequel-3.29.0 lib/sequel/database.rb
sequel-3.28.0 lib/sequel/database.rb
sequel-3.27.0 lib/sequel/database.rb
sequel-3.26.0 lib/sequel/database.rb
sequel-3.25.0 lib/sequel/database.rb