From: Karl O. Pinc Date: Sun, 18 Aug 2024 22:55:53 +0000 (-0500) Subject: Show SQL at the top of the results X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=5d5a66136edb33576031757662be9c64a9a9f35f;p=pgwui_sql Show SQL at the top of the results --- diff --git a/src/pgwui_sql/templates/sql.mak b/src/pgwui_sql/templates/sql.mak index 0a38d78..5859f37 100644 --- a/src/pgwui_sql/templates/sql.mak +++ b/src/pgwui_sql/templates/sql.mak @@ -50,6 +50,13 @@

Executed SQL without errors, from a file!

+ % if sql: +
    + % for sql_line in sql.rstrip().split('\n'): +
  1. ${sql_line}
  2. + % endfor +
+ % endif <%block name="page_heading">