method
BoundTypedCollection.Update
Public method BoundTypedCollection.Update from github.com/riducms/ridu/core.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
id | string | The id value. |
input | Update | The input value. |
options | TypedMutationOptions | The options value. |
Returns
The declared result.
(Document, error)Full signature
func (collection BoundTypedCollection[Document, Create, Update, Draft]) Update(
ctx context.Context,
id string,
input Update,
options TypedMutationOptions,
) (Document, error)Related types
BoundTypedCollectionTyped collection methods for strict writes, incomplete working drafts, publication, reads, and deletion.
TypedMutationOptionsActor, draft intent, expected revision, locale, and response controls for a generated Go mutation.