Sha256: 68370089d368ee13fd61d2f0b672f33d41fda1d3aa3cfb66a5564c42ed76d811

Contents?: true

Size: 257 Bytes

Versions: 1

Compression:

Stored size: 257 Bytes

Contents

module RailsAdminContent
	module Mysql
		module Adapters
			class Client
				def initialize
					@client = client = Mysql2::Client.new ActiveRecord::Base.connection_config
				end
				def query(sql)
					@client.query(sql).each
				end
			end
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_admin_content-0.1.3 lib/rails_admin_content/mysql/adapters/client.rb