createIndex

inline suspend fun <T : Any> MongoCollection<T>.createIndex(options: IndexOptions.() -> Unit = { }, fn: IndexBuilder<T>.() -> Bson): String(source)