# File lib/arjdbc/mysql/explain_support.rb, line 8 def explain(arel, binds = []) sql = "EXPLAIN #{to_sql(arel, binds)}" start = Time.now.to_f result = exec_query(sql, "EXPLAIN", binds) elapsed = Time.now.to_f - start ExplainPrettyPrinter.new.pp result, elapsed end
Generated with the Darkfish Rdoc Generator 2.