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