BatchCreateOptions
Defined in: packages/repo/src/types.ts:562
Options for Repository.batchCreate.
Properties
Section titled “Properties”contextValues?
Section titled “contextValues?”
optionalcontextValues?:ContextValues
Defined in: packages/repo/src/types.ts:591
Advanced: reuse an existing context bag for a nested repository call. When omitted, the repository creates a fresh bag for this operation.
readMask?
Section titled “readMask?”
optionalreadMask?:FieldMask
Defined in: packages/repo/src/types.ts:568
A FieldMask controlling which fields are returned on the
created resources. Overrides the repository’s default read mask.
Defaults to "*".
transaction?
Section titled “transaction?”
optionaltransaction?:Engine
Defined in: packages/repo/src/types.ts:585
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.
validateOnly?
Section titled “validateOnly?”
optionalvalidateOnly?:boolean
Defined in: packages/repo/src/types.ts:577
If true, all resources are validated but not persisted. The
returned messages reflect what would have been created (including
computed etags), but no database writes occur.