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