跳到主要内容

DiffResult

Defined in: packages/rxdb/src/repository/diff-metadata.ts:30

Diff result containing categorized entity IDs

Properties

freshIds

freshIds: string[];

Defined in: packages/rxdb/src/repository/diff-metadata.ts:36

IDs that exist in both and local is up-to-date - skip fetch


missingIds

missingIds: string[];

Defined in: packages/rxdb/src/repository/diff-metadata.ts:32

IDs that exist in remote but not in local - need to fetch


orphanIds

orphanIds: string[];

Defined in: packages/rxdb/src/repository/diff-metadata.ts:38

IDs that exist in local but not in remote result set - may be deleted or out of filter


staleIds

staleIds: string[];

Defined in: packages/rxdb/src/repository/diff-metadata.ts:34

IDs that exist in both but local is outdated - need to update