KtMongo
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
KtMongo
MongoDB driver for Kotlin (multiplatform)
/
opensavvy.ktmongo.multiplatform
/
MultiplatformMongoIterable
Multiplatform
Mongo
Iterable
interface
MultiplatformMongoIterable
<
Document
:
Any
>
:
MongoIterable
<
Document
>
(
source
)
Streaming-capable iterable cursor to read data from the database.
External resources
Official documentation
Members
Functions
as
Flow
Link copied to clipboard
abstract
fun
asFlow
(
)
:
Flow
<
Document
>
as
Sequence
Link copied to clipboard
open
fun
asSequence
(
)
:
Sequence
<
Document
>
first
Link copied to clipboard
abstract
suspend
fun
first
(
)
:
Document
first
Or
Null
Link copied to clipboard
abstract
suspend
fun
firstOrNull
(
)
:
Document
?
for
Each
Link copied to clipboard
abstract
suspend
fun
forEach
(
action
:
suspend
(
Document
)
->
Unit
)
to
List
Link copied to clipboard
open
suspend
fun
toList
(
)
:
List
<
Document
>
to
Sequence
Link copied to clipboard
open
fun
toSequence
(
)
:
Sequence
<
Document
>
to
Set
Link copied to clipboard
open
suspend
fun
toSet
(
)
:
Set
<
Document
>