chiark / gitweb /
Dump optimisation results too
[ypp-sc-tools.db-live.git] / yarrg / web / dumptable
index 20dc25f12ceb4ea7a77e51302e7ec9557b53e10a..e60415c8469bae1c94dd8ed5851bfe84e48588a4 100644 (file)
@@ -96,6 +96,19 @@ $qa => undef
 %      }
 </%method>
 
+<%method literal>
+<%args>
+$cols
+$rows
+$qa => undef
+</%args>
+<& SELF:start, cols => $cols &>
+%      foreach my $row (@$rows) {
+<& SELF:row, cols => $cols, row => $row &>
+%      }
+<& SELF:end &>
+</%method>
+
 <& SELF:start, sth => $sth &>
 %      my $row;
 %      while ($row= $sth->fetchrow_hashref) {