method
BoundTypedCollection.Import
func (collection BoundTypedCollection[Document, Create, Update]) Import(
ctx context.Context,
input Create,
options ImportOptions,
actor *store.Document,
) (Document, error)Public method BoundTypedCollection.Import from github.com/riducms/ridu/core.
Related types
BoundTypedCollectionTyped Create, Import, Find, List, Update, UpdateRevision, and Delete methods.
ImportOptionsMigration-owned source identity, status, and timestamps.
DocumentA stored document with status and version metadata.