withDocumentClass

inline fun <NewTDocument : Any> MongoCollection<*>.withDocumentClass(): MongoCollection<NewTDocument>

Deprecated

kmongo-dsl: withDocumentClass is a member of the driver collection: remove the import

KMongo 4/5 compatibility: withDocumentClass was a KMongo extension, it is now a member of the official driver collection - this declaration only keeps import org.litote.kmongo.withDocumentClass valid: remove the import.