Module: Sequel::DataObjects::MySQL::DatabaseMethods

Includes:
MySQL::DatabaseMethods
Defined in:
lib/sequel/lib/sequel/adapters/do/mysql.rb

Overview

Database instance methods for MySQL databases accessed via DataObjects.

Constant Summary

Constants included from MySQL::DatabaseMethods

MySQL::DatabaseMethods::AUTO_INCREMENT, MySQL::DatabaseMethods::CAST_TYPES, MySQL::DatabaseMethods::PRIMARY

Instance Method Summary collapse

Methods included from MySQL::DatabaseMethods

#cast_type_literal, #database_type, #indexes, #server_version, #supports_savepoints?, #tables, #use

Instance Method Details

#dataset(opts = nil) ⇒ Object

Return instance of Sequel::DataObjects::MySQL::Dataset with the given opts.


13
14
15
# File 'lib/sequel/lib/sequel/adapters/do/mysql.rb', line 13

def dataset(opts=nil)
  Sequel::DataObjects::MySQL::Dataset.new(self, opts)
end