MCPcopy
hub / github.com/immich-app/immich / getBackfill

Method getBackfill

server/src/repositories/sync.repository.ts:340–346  ·  view source on GitHub ↗
(options: SyncBackfillOptions, albumId: string)

Source from the content-addressed store, hash-verified

338class AlbumUserSync extends BaseSync {
339 @GenerateSql({ params: [dummyBackfillOptions, DummyValue.UUID], stream: true })
340 getBackfill(options: SyncBackfillOptions, albumId: string) {
341 return this.backfillQuery('album_user', options)
342 .select(columns.syncAlbumUser)
343 .select('album_user.updateId')
344 .where('albumId', '=', albumId)
345 .stream();
346 }
347
348 @GenerateSql({ params: [dummyQueryOptions], stream: true })
349 getDeletes(options: SyncQueryOptions) {

Callers 7

syncPartnerAssetsV2Method · 0.45
syncAlbumUsersV1Method · 0.45
syncAlbumAssetsV2Method · 0.45
syncAlbumAssetExifsV1Method · 0.45
syncAlbumToAssetsV1Method · 0.45
syncPartnerStackV1Method · 0.45

Calls 2

backfillQueryMethod · 0.80
streamMethod · 0.45

Tested by

no test coverage detected