MongoAggregationPipeline

class MongoAggregationPipeline<Output : Any> : LazyMongoIterable<Output> (source)

Functions

Link copied to clipboard
open override fun asIterable(): MongoIterable<Output>
Link copied to clipboard
open fun asSequence(): <Error class: unknown class><Document>
Link copied to clipboard
open fun embedInUnionWith(writer: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open fun first(): Output

Returns the first document found by this query, or throws an exception.

Link copied to clipboard
open override fun firstOrNull(): Output?

Returns the first document found by this query, or null if none were found.

Link copied to clipboard
open override fun forEach(action: (Output) -> Unit)

Executes action for each document returned by this query.

Link copied to clipboard
Link copied to clipboard
open fun match(filter: <Error class: unknown class><Output>.() -> Unit): MongoAggregationPipeline<Output>
Link copied to clipboard
open fun project(block: <Error class: unknown class><Output>.() -> Unit): MongoAggregationPipeline<Output>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun set(block: <Error class: unknown class><Output>.() -> Unit): MongoAggregationPipeline<Output>
Link copied to clipboard
Link copied to clipboard
open fun sort(block: <Error class: unknown class><Output>.() -> Unit): MongoAggregationPipeline<Output>
Link copied to clipboard
open fun toList(): List<Output>

Reads the entirety of this response into a List.

Link copied to clipboard
open fun toSequence(): <Error class: unknown class><Document>
Link copied to clipboard
open fun toSet(): Set<Output>

Reads the entirety of this response into a Set.

Link copied to clipboard
open fun unionWith(other: <Error class: unknown class><Output>): MongoAggregationPipeline<Output>
Link copied to clipboard
open fun unset(block: <Error class: unknown class><Output>.() -> Unit): MongoAggregationPipeline<Output>
Link copied to clipboard
open fun withStage(stage: <Error class: unknown class>): MongoAggregationPipeline<Output>