CreateOptions
Defined in: packages/repo/src/types.ts:390
Options for Repository.create.
Properties
Section titled “Properties”contextValues?
Section titled “contextValues?”
optionalcontextValues?:ContextValues
Defined in: packages/repo/src/types.ts:414
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:396
A FieldMask controlling which fields are returned on the
created resource. Overrides the repository’s default read mask.
Defaults to "*".
transaction?
Section titled “transaction?”
optionaltransaction?:Engine
Defined in: packages/repo/src/types.ts:408
Run the operation within a transaction.
validateOnly?
Section titled “validateOnly?”
optionalvalidateOnly?:boolean
Defined in: packages/repo/src/types.ts:405
If true, the resource is validated but not persisted. The
returned message reflects what would have been created (including
the computed etag), but no database write occurs.