MongoDB request DSL • opensavvy.ktmongo.dsl.aggregation.stages • HasUnionWithCompatibility • embedInUnionWith
embedInUnionWith¶
abstract fun embedInUnionWith(writer: )
Writes this pipeline into a $unionWith stage.
This method is a low-level API for building custom $unionWith stages. Regular users should use HasUnionWith.unionWith instead.
Implementation contract¶
When another pipeline wants to embed the current pipeline into itself, it will call this method from within the $unionWith stage. This method should thus emit the body of the stage:
External resources¶
See also¶
HasUnionWith.unionWithThe$unionWithstage.