method
BoundTypedCollection.Create
Public method BoundTypedCollection.Create from github.com/riducms/ridu/core.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
input | Create | The input value. |
options | TypedMutationOptions | The options value. |
Returns
The declared result.
(Document, error)Full signature
func (collection BoundTypedCollection[Document, Create, Update, Draft]) Create(
ctx context.Context,
input Create,
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.