Updates from templates.md

Dave Morriss 2023-10-11 21:30:52 +01:00
parent 19420bcbaf
commit 033bf8b9e2

@ -333,9 +333,9 @@ TBA
## queries-index-mysql.tpl.html ## 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 - `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 - `query_latest_episodes` - collects the latest 10 shows, hosts, series
and comment counts for the main index. Uses a CTE for the comment and comment counts for the main index. Uses a CTE for the comment
counts. counts.
@ -344,7 +344,14 @@ TBA
## queries-index-sqlite.tpl.html ## 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 ## queries-series_episodes-mysql.tpl.html