Module | Sequel::DataObjects |
In: |
lib/sequel/adapters/do/sqlite3.rb
lib/sequel/adapters/do/postgres.rb lib/sequel/adapters/do/mysql.rb lib/sequel/adapters/do.rb |
Module holding the DataObjects support for Sequel. DataObjects is a ruby library with a standard API for accessing databases.
The DataObjects adapter currently supports PostgreSQL, MySQL, and SQLite:
DATABASE_SETUP | = | {} | Contains procs keyed on subadapter type that extend the given database object so it supports the correct database type. |
Wrapper for require that raises AdapterNotFound if driver could not be loaded
# File lib/sequel/adapters/do.rb, line 19 19: def self.load_driver(path) 20: require path 21: rescue LoadError => e 22: raise AdapterNotFound, e.message 23: end