Refactor MySQL database specific SQL

This commit is contained in:
2022-11-28 19:49:06 -05:00
parent 675f8fa9d5
commit 3cc6da57ad
4 changed files with 59 additions and 54 deletions

View File

@@ -1,8 +1,6 @@
<!--% PROCESS "queries-ids-episode-${constants.database}.tpl.html" %-->
<!--% USE DBI(constants.driver, constants.user, constants.password) %-->
<!--% FOREACH episode IN DBI.query(
'select eps.id from eps
where eps.date < DATE_ADD(NOW(), INTERVAL 1 DAY) '
) %-->
<!--% FOREACH episode IN DBI.query(query_ids_episode) %-->
,<!--% episode.id %-->
<!--% END %-->