method
BoundTypedCollection.Import
Public method BoundTypedCollection.Import from github.com/riducms/ridu/core.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
input | Create | The input value. |
options | ImportOptions | The options value. |
Returns
The declared result.
(Document, error)Full signature
func (collection BoundTypedCollection[Document, Create, Update, Draft]) Import(
ctx context.Context,
input Create,
options ImportOptions,
) (Document, error)Related types
BoundTypedCollectionTyped collection methods for strict writes, incomplete working drafts, publication, reads, and deletion.
ImportOptionsMigration-owned source identity, status, and timestamps.