fun <reified TResult : Any> MongoCollection<*>.listTypedIndexes(): ListIndexesIterable<TResult>
(source)
Get all the indexes in this collection.
Parameters
Return
the list indexes iterable interface
fun <reified TResult : Any> MongoCollection<*>.listTypedIndexes(clientSession: ClientSession): ListIndexesIterable<TResult>
(source)
Get all the indexes in this collection.
clientSession
- the client session with which to associate this operation
Parameters
Return
the list indexes iterable interface