Sha256: 0b0459f8a07968e6745f56cdcc2351d1ceade597864b6f4363a643cebf2e516f

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 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

2 entries across 2 versions & 1 rubygems

Version Path
rails_admin_content-0.2.1 lib/rails_admin_content/mysql/adapters/client.rb
rails_admin_content-0.2.0 lib/rails_admin_content/mysql/adapters/client.rb