adding a class to wrap fields
This commit is contained in:
parent
a3cdd92a9c
commit
6e38bff28d
@ -6,6 +6,7 @@ require 'mysql2/error'
|
|||||||
require 'mysql2/mysql2'
|
require 'mysql2/mysql2'
|
||||||
require 'mysql2/client'
|
require 'mysql2/client'
|
||||||
require 'mysql2/result'
|
require 'mysql2/result'
|
||||||
|
require 'mysql2/field'
|
||||||
|
|
||||||
# = Mysql2
|
# = Mysql2
|
||||||
#
|
#
|
||||||
|
4
lib/mysql2/field.rb
Normal file
4
lib/mysql2/field.rb
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
module Mysql2
|
||||||
|
class Field < Struct.new(:name, :type)
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user