var switch, fmt, npe fix

This commit is contained in:
2026-03-12 19:22:14 +01:00
parent 8c06024fe5
commit d007569f93
6 changed files with 21 additions and 29 deletions

View File

@@ -35,9 +35,9 @@ WHERE c.Name = (
FROM Collection
GROUP BY Name
ORDER BY Name
LIMIT 1 OFFSET ?1
LIMIT 1 OFFSET @index
)
LIMIT ?2 OFFSET ?3;
LIMIT @limit OFFSET @offset;
-- name: GetCollectionByName :many
SELECT c.Name, b.BeatmapId, b.MD5Hash, b.Title, b.Artist, b.Creator, b.Folder, b.File, b.Audio, b.TotalTime