Skip to main content

PruneResult

@forge/monorepo


@forge/monorepo / backend/src / PruneResult

Type Alias: PruneResult

PruneResult = object

Defined in: backend/src/retention/index.ts:57

Properties

deleted

readonly deleted: number

Defined in: backend/src/retention/index.ts:64

Rows actually removed.

The caller's loop condition. Returning it rather than a boolean is what lets drain know whether a full batch means "more to do" — and it is the number an operator needs to see that retention is running at all.