INNER CODE UNIT · Go

func

chenmingyong0423/go-mongox · collection.go:46

func (c *Collection[T]) Finder() *finder.Finder[T] {
	return finder.NewFinder[T](c.collection, c.callbacks, c.fields)
}

func (c *Collection[T]) Creator() *creator.Creator[T] {
	return creator.NewCreator[T](c.collection, c.callbacks, c.fields)
}

func (c *Collection[T]) Updater() *updater.Updater[T] {
	return updater.NewUpdater[T](c.collection, c.callbacks, c.fields)
}

func (c *Collection[T]) Deleter() *deleter.Deleter[T] {
	return deleter.NewDeleter[T](c.collection, c.callbacks, c.fields)
}
func (c *Collection[T]) Aggregator() *aggregator.Aggregator[T] {
	return aggregator.NewAggregator[T](c.collection, c.callbacks, c.fields)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…