Skip to content

BatchGetOptions

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

Options for Repository.batchGet.

optional contextValues?: ContextValues

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

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


optional readMask?: FieldMask

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

A FieldMask controlling which fields are returned. Overrides the repository’s default read mask. Defaults to "*".


optional transaction?: Engine

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

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.