Skip to content

BatchDeleteOptions

Defined in: packages/repo/src/types.ts:649

Options for Repository.batchDelete.

optional contextValues?: ContextValues

Defined in: packages/repo/src/types.ts:670

Advanced: reuse an existing context bag for a nested repository call. When omitted, the repository creates a fresh bag for this operation.


optional transaction?: Engine

Defined in: packages/repo/src/types.ts:664

Run the operation within a transaction. When provided, the batch operation participates in the caller’s transaction rather than opening a new one. The caller is responsible for committing or rolling back.


optional validateOnly?: boolean

Defined in: packages/repo/src/types.ts:656

If true, all resources are validated for existence but not deleted. No database mutations occur.

https://google.aip.dev/163