module Sequel::DataObjects

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:

Constants

DATABASE_SETUP

Contains procs keyed on subadapter type that extend the given database object so it supports the correct database type.

Public Class Methods

load_driver(path) click to toggle source

Wrapper for require that raises AdapterNotFound if driver could not be loaded

# File lib/sequel/adapters/do.rb, line 23
def self.load_driver(path)
  require path
rescue LoadError => e
  raise AdapterNotFound, e.message
end