MongoDB request DSL • opensavvy.ktmongo.dsl.aggregation.stages • HasUnionWith
HasUnionWith¶
interface HasUnionWith<Document : Any> : Pipeline<Document>
Pipeline implementing the $unionWith
stage.
Inheritors¶
Properties¶
context
¶
abstract val context:
The context used to generate this pipeline.
Functions¶
reinterpret
¶
abstract fun <New : Any> reinterpret(): Pipeline<New>
Changes the type of the returned document, with no type-safety.
toString
¶
JSON representation of this pipeline.
unionWith
¶
open fun unionWith(other: HasUnionWithCompatibility<Document>): Pipeline<Document>
Combines two aggregations into a single result set.
withStage
¶
Creates a new pipeline that expands on the current one by adding stage
.
writeTo
¶
abstract fun writeTo(writer: )
Writes the entire pipeline into writer
.