Methods

Class Index [+]

Quicksearch

Sequel::MySQL

Module for holding all MySQL-related classes and modules for Sequel.

Constants

TYPE_TRANSLATOR

Attributes

convert_tinyint_to_bool[RW]

Sequel converts the column type tinyint(1) to a boolean by default when using the native MySQL or Mysql2 adapter. You can turn off the conversion by setting this to false. This setting is ignored when connecting to MySQL via the do or jdbc adapters, both of which automatically do the conversion.

default_charset[RW]

Set the default charset used for CREATE TABLE. You can pass the :charset option to create_table to override this setting.

default_collate[RW]

Set the default collation used for CREATE TABLE. You can pass the :collate option to create_table to override this setting.

default_engine[RW]

Set the default engine used for CREATE TABLE. You can pass the :engine option to create_table to override this setting.

Public Instance Methods

float(s) click to toggle source
    # File lib/sequel/adapters/mysql.rb, line 16
16:       def float(s) s.to_f end
integer(s) click to toggle source
    # File lib/sequel/adapters/mysql.rb, line 15
15:       def integer(s) s.to_i end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.