ListCollectionsFlow

class ListCollectionsFlow<T : Any>(wrapped: ListCollectionsPublisher<T>) : Flow<T>

Flow implementation for list collection operations.

Parameters

T

The type of the result.

See also

Constructors

Link copied to clipboard
constructor(wrapped: ListCollectionsPublisher<T>)

Functions

Link copied to clipboard

Sets the number of documents to return per batch.

Link copied to clipboard
open suspend override fun collect(collector: FlowCollector<T>)
Link copied to clipboard
fun comment(comment: BsonValue?): ListCollectionsFlow<T>

Sets the comment for this operation. A null value means no comment is set.

Link copied to clipboard
fun filter(filter: Bson?): ListCollectionsFlow<T>

Sets the query filter to apply to the returned database names.

Link copied to clipboard
fun maxTime(maxTime: Long, timeUnit: TimeUnit = TimeUnit.MILLISECONDS): ListCollectionsFlow<T>

Sets the maximum execution time on the server for this operation.