From 033bf8b9e2322bfbe1cf3bdfcd516596a0f56b2f Mon Sep 17 00:00:00 2001 From: Dave Morriss Date: Wed, 11 Oct 2023 21:30:52 +0100 Subject: [PATCH] Updates from templates.md --- templates.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/templates.md b/templates.md index a667aa6..201f03f 100644 --- a/templates.md +++ b/templates.md @@ -333,9 +333,9 @@ TBA ## queries-index-mysql.tpl.html -- Contains several database queries assigned to `TT²` variables: +- Contains several database queries for MySQL assigned to `TT²` variables: - `query_next_available_episode` - computes the number of days to the next - free slot + free slot, using two CTEs - `query_latest_episodes` - collects the latest 10 shows, hosts, series and comment counts for the main index. Uses a CTE for the comment counts. @@ -344,7 +344,14 @@ TBA ## queries-index-sqlite.tpl.html -TBA +- Contains several database queries for SQLite assigned to `TT²` variables: + - `query_next_available_episode` - computes the number of days to the next + free slot, using two CTEs + - `query_latest_episodes` - collects the latest 10 shows, hosts, series + and comment counts for the main index. Uses a CTE for the comment + counts. + - `query_last_5_weeks_episodes` - collects condensed details of the next + 30 episodes after the previous block of 10. ## queries-series_episodes-mysql.tpl.html