module MongoClarify

Constants

VERSION

Public Class Methods

run(explain) click to toggle source
# File lib/mongo_clarify.rb, line 10
def run(explain)
  investigate = MongoClarify::Investigate.new(explain)
  exec_stats = investigate.execution_stats
  operation_method = investigate.operation_method

  MongoClarify::Output.new(operation_method, exec_stats).markdown_table
end