MongoDB driver for Kotlin (coroutines) • opensavvy.ktmongo.coroutines • JvmMongoIterable • firstOrNull
firstOrNull¶
open suspend override fun firstOrNull(): Document?
Returns the first document found by this query, or null
if none were found.
MongoDB driver for Kotlin (coroutines) • opensavvy.ktmongo.coroutines • JvmMongoIterable • firstOrNull
open suspend override fun firstOrNull(): Document?
Returns the first document found by this query, or null
if none were found.