kmongo / org.litote.kmongo.coroutine / CoroutineCollection / listIndexes

listIndexes

fun <reified T : Any> listIndexes(): CoroutineListIndexesPublisher<T> (source)

Get all the indexes in this collection.

Parameters

Return
the fluent list indexes interface

Mongodb
.driver.manual reference/command/listIndexes/ listIndexes

fun <reified T : Any> listIndexes(clientSession: ClientSession): CoroutineListIndexesPublisher<T> (source)

Get all the indexes in this collection.

Parameters

clientSession - the client session with which to associate this operation

Parameters

Return
the fluent list indexes interface

Mongodb
.driver.manual reference/command/listIndexes/ listIndexes

Mongodb
.server.release 3.6

Since
1.7