suspend fun findOneById(id: Any): T?
(source)
Finds the document that match the id parameter.
suspend fun findOneById(id: Any, clientSession: ClientSession): T?
(source)
Finds the document that match the id parameter.
clientSession
- the client session with which to associate this operation