From fb7ce759c1045daf20e416547e6111f796030b60 Mon Sep 17 00:00:00 2001
From: Ted Trask No results, try adjusting query This form accepts a Postgresql SELECT statement and displays the results. Examples:
<%= html.html_escape(form.value.result.label) %>
+ <% local header_level = htmlviewfunctions.displaysectionstart(form.value.result, page_info) %>
<% if #form.value.result.value == 0 then %>
<%= html.html_escape(form.label) %>
-<% htmlviewfunctions.displayformstart(form, page_info) %>
+<% local header_level = htmlviewfunctions.displaysectionstart(form, page_info) %>
The available database tables and descriptions are listed below.SELECT clientuserid, sum(bytes) AS total FROM pubweblog GROUP BY clientuserid ORDER BY total DESC
-SELECT clientuserid, sum(bytes) AS total FROM pubweblog WHERE logdatetime >= 'yesterday' and logdatetime < 'today' GROUP BY clientuserid ORDER BY total DESC
+SELECT clientuserid, sum(bytes) AS total FROM pubweblog WHERE logdatetime >= 'yesterday' and logdatetime < 'today' GROUP BY clientuserid ORDER BY total DESC
SELECT extract(hour from date) AS hour, sum(numrequest) AS numrequest, sum(numblock) AS numblock FROM usagestat GROUP BY extract(hour from date) ORDER BY hour
These tables contain the pre-purge and historical access logs respectively. The definition of the table is as follows:
( @@ -110,8 +104,9 @@ The available database tables and descriptions are listed below. id int, )+<% htmlviewfunctions.displaysectionend(header_level3) %> -
This table contains the database history, including such information as which log files were loaded and how many entries they contained. The definition of the table is as follows:
( @@ -119,8 +114,9 @@ The available database tables and descriptions are listed below. msgtext text )+<% htmlviewfunctions.displaysectionend(header_level3) %> -
This table contains the list of log file sources. The definition of the table is as follows:
( @@ -133,8 +129,9 @@ The available database tables and descriptions are listed below. enabled boolean )+<% htmlviewfunctions.displaysectionend(header_level3) %> -
This table contains a historical record of pages requested and blocked by hour. The definition of the table is as follows:
( @@ -144,3 +141,6 @@ The available database tables and descriptions are listed below. numblock integer )+<% htmlviewfunctions.displaysectionend(header_level3) %> +<% htmlviewfunctions.displaysectionend(header_level2) %> +<% htmlviewfunctions.displaysectionend(header_level) %> -- cgit v1.2.3