KtMongo
Toggle table of contents
0.20.1
jvm
Platform filter
jvm
Switch theme
Search in API
KtMongo
MongoDB driver for Kotlin (synchronous)
/
opensavvy.ktmongo.sync
/
JvmMongoIterable
/
firstOrNull
first
Or
Null
jvm
open
override
fun
firstOrNull
(
)
:
Document
?
(
source
)
Returns the first document found by this query, or
null
if none were found.
See also
Jvm
Mongo
Iterable.
first