collection

open val collection: MongoCollection<T>(source)

The MongoDB collection associated with this service. By default, gets the collection from the database property.