MongoDB driver for Kotlin (synchronous) • opensavvy.ktmongo.sync • JvmMongoIterable • first
first¶
Returns the first document found by this query, or throws an exception.
See also¶
Throws¶
NoSuchElementException
-
If this query returned no results.