SyncMongoAggregationPipeline

interface SyncMongoAggregationPipeline<Document : Any> : MongoAggregationPipeline<Document> (source)

An aggregation pipeline built on top of the official Kotlin driver.

To start a pipeline, call MongoCollection.aggregate.

External resources

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Access the data of this pipeline as a MongoIterable.

Link copied to clipboard
abstract override fun <Out : Any> countTo(field: KProperty1<Out, Number>): SyncMongoAggregationPipeline<Out>
abstract override fun <Out : Any> countTo(field: Field<Out, Number>): SyncMongoAggregationPipeline<Out>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract override fun <Out : Any> group(block: GroupStageOperators<Document, Out>.() -> Unit): SyncMongoAggregationPipeline<Out>
Link copied to clipboard
abstract override fun limit(amount: Int): SyncMongoAggregationPipeline<Document>
abstract override fun limit(amount: Long): SyncMongoAggregationPipeline<Document>
Link copied to clipboard
Link copied to clipboard
abstract override fun match(filter: FilterQuery<Document>.() -> Unit): SyncMongoAggregationPipeline<Document>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract override fun sample(size: Int): SyncMongoAggregationPipeline<Document>
Link copied to clipboard
Link copied to clipboard
abstract override fun skip(amount: Int): SyncMongoAggregationPipeline<Document>
abstract override fun skip(amount: Long): SyncMongoAggregationPipeline<Document>
Link copied to clipboard
abstract override fun sort(block: SortOptionDsl<Document>.() -> Unit): SyncMongoAggregationPipeline<Document>
Link copied to clipboard
abstract override fun toString(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun writeTo(writer: BsonValueWriter)