This commit is contained in:
2026-05-20 16:47:39 +02:00
committed by Mikkel Elvers
parent 68396c591e
commit d94f1516ce
7 changed files with 196 additions and 14 deletions

View File

@@ -337,3 +337,7 @@ LEFT JOIN episode_availability_cache e ON e.anime_id = tracked.anime_id
WHERE e.anime_id IS NULL OR e.next_refresh_at IS NULL OR e.next_refresh_at <= CURRENT_TIMESTAMP
ORDER BY tracked.anime_id
LIMIT ?;
-- name: GetAllCachedAnime :many
SELECT data FROM jikan_cache
WHERE key LIKE 'anime:%' LIMIT 1000;