SyncMongoIterable¶
interface SyncMongoIterable<Document : Any> : MongoIterable<Document>
Streaming-capable iterable cursor to read data from the database.
The Coroutine client provides a coroutine-aware API which internally uses the official Kotlin driver.
External resources¶
Inheritors¶
Functions¶
asSequence¶
open fun asSequence(): Sequence<Document>
first¶
firstOrNull¶
abstract fun firstOrNull(): Document?
forEach¶
map¶
toList¶
toSequence¶
open fun toSequence(): Sequence<Document>