method
TypedCollection.With
func (collection TypedCollection[Document, Create, Update]) With(
local *LocalAPI,
) BoundTypedCollection[Document, Create, Update]With binds a generated collection definition to a running application.
Related types
TypedCollectionAn unbound typed collection descriptor.
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
BoundTypedCollectionTyped Create, Import, Find, List, Update, UpdateRevision, and Delete methods.