refactor: use cursors instead of pages

This commit is contained in:
izzy
2026-01-06 15:49:36 +00:00
parent 06ee275202
commit d189722bbf
12 changed files with 100 additions and 115 deletions

View File

@@ -31,16 +31,16 @@ select
"type",
"path",
"assetId",
"fileAssetId"
"fileAssetId",
"createdAt"
from
"integrity_report"
where
"type" = $1
and "createdAt" <= $2
order by
"createdAt" desc
limit
$2
offset
$3
-- IntegrityRepository.getAssetPathsByPaths