No commit activity in last 3 years
No release in over 3 years
Highlight problematic MySQL explain results.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

MysqlCasualExplain

Highlight problematic MySQL explain results.

Inspired by MySQLCasualLog.pm.

Gem Version Build Status

Installation

Add this line to your application's Gemfile:

gem 'mysql_casual_explain'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install mysql_casual_explain

Usage

#!/usr/bin/env ruby
require 'active_record'
require 'mysql_casual_explain'

ActiveRecord::Base.establish_connection(
  adapter:  'mysql2',
  username: 'root',
  database: 'employees'
)

class Employee < ActiveRecord::Base; end

puts Employee.all.explain

Test

docker-compose build
docker-compose run client bundle exec appraisal ar60 rake