Sha256: 6dd04ca803a52affd955e6a4fbae1055e178d2d90de1089957b176ee814f9b12
Contents?: true
Size: 638 Bytes
Versions: 10
Compression:
Stored size: 638 Bytes
Contents
<a class="back" href="">« Back</a> <h3>SQL Explained</h3> <dl> <dt>Executed SQL</dt> <dd><pre><%=h query %></pre></dd> <dt>Time</dt> <dd><%=h "%.2f" % (time * 1_000) %>ms</dd> </dl> <table class="sortable"> <thead> <tr> <% result.fetch_fields.each do |field| %> <th><%= field.name.upcase %></th> <% end %> </tr> </thead> <tbody> <% i = 1 %> <% result.each do |row| %> <tr class="<%= i % 2 == 0 ? "even" : "odd" %>"> <% row.each do |value| %> <td><%= value %></td> <% end %> </tr> <% i += 1 %> <% end %> </tbody> </table>
Version data entries
10 entries across 10 versions & 5 rubygems