MongoDB driver for Kotlin (synchronous) • opensavvy.ktmongo.sync • MongoIterable • firstOrNull
firstOrNull¶
abstract fun firstOrNull(): Document?
Returns the first document found by this query, or null
if none were found.
MongoDB driver for Kotlin (synchronous) • opensavvy.ktmongo.sync • MongoIterable • firstOrNull
abstract fun firstOrNull(): Document?
Returns the first document found by this query, or null
if none were found.