mirror of
https://github.com/immich-app/immich.git
synced 2026-03-23 21:39:40 +03:00
refactor: use cursors instead of pages
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user