MultiplatformMongoIterable

Streaming-capable iterable cursor to read data from the database.

External resources

Functions

Link copied to clipboard
abstract fun asFlow(): Flow<Document>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun first(): Document
Link copied to clipboard
abstract suspend fun firstOrNull(): Document?
Link copied to clipboard
abstract suspend fun forEach(action: suspend (Document) -> Unit)
Link copied to clipboard
open suspend fun toList(): List<Document>
Link copied to clipboard
Link copied to clipboard
open suspend fun toSet(): Set<Document>