ListCollectionNamesFlow

class ListCollectionNamesFlow(wrapped: ListCollectionNamesPublisher) : Flow<String>

Flow for listing collection names.

Since

5.0

See also

Constructors

Link copied to clipboard
constructor(wrapped: ListCollectionNamesPublisher)

Functions

Link copied to clipboard

Sets the authorizedCollections field of the listCollections command.

Link copied to clipboard

Sets the number of documents to return per batch.

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

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

Link copied to clipboard
fun filter(filter: Bson?): ListCollectionNamesFlow

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

Link copied to clipboard
fun maxTime(maxTime: Long, timeUnit: TimeUnit = TimeUnit.MILLISECONDS): ListCollectionNamesFlow

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