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