module Sequel::MySQL

  1. lib/sequel/adapters/mysql.rb
  2. lib/sequel/adapters/shared/mysql.rb
  3. lib/sequel/adapters/utils/mysql_mysql2.rb
  4. lib/sequel/adapters/utils/mysql_prepared_statements.rb
  5. show all

Methods

Public Class

  1. mock_adapter_setup

Constants

MYSQL_TYPES = {}  

Hash with integer keys and callable values for converting MySQL types.

RUBY_MYSQL_3 = !Mysql.respond_to?(:init)  
RUBY_MYSQL_4 = RUBY_MYSQL_3 && ::Mysql::VERSION.to_i >= 4  
TYPE_TRANSLATOR_BOOLEAN = boolean.freeze  
TYPE_TRANSLATOR_INTEGER = integer.freeze  

Public Class methods

mock_adapter_setup(db)
[show source]
   # File lib/sequel/adapters/shared/mysql.rb
11 def self.mock_adapter_setup(db)
12   db.instance_exec do
13     @server_version = 50617
14   end
15 end