Skip to content

MongoDB driver for Kotlin (coroutines)opensavvy.ktmongo.coroutinesMongoAggregationPipeline

MongoAggregationPipeline

class MongoAggregationPipeline<Output : Any> :  ERROR CLASS: Symbol not found for AbstractPipeline,  ERROR CLASS: Symbol not found for AggregationPipeline, LazyMongoIterable<Output> 

Functions

asFlow

inline fun <Document : Any> LazyMongoIterable<Document>.asFlow(): ERROR CLASS: Symbol not found for Flow

asIterable

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

asIterable

embedInUnionWith

open override fun embedInUnionWith(writer: ERROR CLASS: Symbol not found for BsonFieldWriter): ERROR CLASS: Unresolved name: with

first

inline suspend fun <Document : Any> LazyMongoIterable<Document>.first(): Document

firstOrNull

forEach

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

group

open override fun <Out : Any> group(block: ERROR CLASS: Symbol not found for AccumulationOperators.() -> Unit): MongoAggregationPipeline<Out>

limit

open override fun limit(amount: Int): MongoAggregationPipeline<Output>
open override fun limit(amount: Long): MongoAggregationPipeline<Output>

match

open override fun match(filter: ERROR CLASS: Symbol not found for FilterQuery.() -> Unit): MongoAggregationPipeline<Output>

project

open override fun project(block: ERROR CLASS: Symbol not found for ProjectStageOperators.() -> Unit): MongoAggregationPipeline<Output>

reinterpret

open override fun <New : Any> reinterpret(): MongoAggregationPipeline<New>

sample

open override fun sample(size: Int): MongoAggregationPipeline<Output>

set

open override fun set(block: ERROR CLASS: Symbol not found for SetStageOperators.() -> Unit): MongoAggregationPipeline<Output>

skip

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

sort

open override fun sort(block: ERROR CLASS: Symbol not found for SortOptionDsl.() -> Unit): MongoAggregationPipeline<Output>

toList

inline suspend fun <Document : Any> LazyMongoIterable<Document>.toList(): List<Document>

toSet

inline suspend fun <Document : Any> LazyMongoIterable<Document>.toSet(): Set<Document>

unionWith

open override fun unionWith(other: ERROR CLASS: Symbol not found for HasUnionWithCompatibility): MongoAggregationPipeline<Output>

unset

open override fun unset(block: ERROR CLASS: Symbol not found for UnsetStageOperators.() -> Unit): MongoAggregationPipeline<Output>

withStage

open override fun withStage(stage: ERROR CLASS: Symbol not found for BsonNode): MongoAggregationPipeline<Output>