Skip to content

MongoDB driver for Kotlin (synchronous)opensavvy.ktmongo.syncMongoAggregationPipeline

MongoAggregationPipeline

Functions

asIterable

open override fun asIterable(documentType: Class<Output>): MongoIterable<Output>

asIterable

embedInUnionWith

open fun embedInUnionWith(writer: ): 

first

firstOrNull

forEach

inline fun <Document : Any> LazyMongoIterable<Document>.forEach(noinline action: (Document) -> Unit)

limit

match

open fun match(filter: <Output>.() -> Unit): MongoAggregationPipeline<Output>

project

open fun project(block: <Output>.() -> Unit): MongoAggregationPipeline<Output>

reinterpret

sample

set

open fun set(block: <Output>.() -> Unit): MongoAggregationPipeline<Output>

skip

open fun skip(amount: Int): MongoAggregationPipeline<Output>

sort

open fun sort(block: <Output>.() -> Unit): MongoAggregationPipeline<Output>

toList

toSet

unionWith

unset

open fun unset(block: <Output>.() -> Unit): MongoAggregationPipeline<Output>

withStage