Sha256: 8781035e9bd498ac56f55a6da5b317771e410befb7e68ecce1a82466fa4d1c09
Contents?: true
Size: 724 Bytes
Versions: 8
Compression:
Stored size: 724 Bytes
Contents
<div class="content"> <h1>Explain</h1> <%= form_tag explain_path do %> <%= text_area_tag :query, @query, placeholder: "Enter a SQL query" %> <p><%= submit_tag "Explain", class: "btn btn-info" %> <%= submit_tag "Analyze", class: "btn btn-danger" %></p> <% end %> <% if @explanation %> <pre><%= @explanation %></pre> <p><%= link_to "See how to interpret this", "http://www.postgresql.org/docs/current/static/using-explain.html", target: "_blank" %></p> <% if (index = @suggested_index) %> <%= render partial: "suggested_index", locals: {index: index, details: index[:details]} %> <% end %> <% elsif @error %> <div class="alert alert-danger"><%= @error %></div> <% end %> </div>
Version data entries
8 entries across 8 versions & 1 rubygems