KMongo DSL
Toggle table of contents
5.14.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
KMongo DSL
kmongo-dsl-core
/
org.litote.kmongo
/
replaceRoot
replace
Root
fun
<
TExpression
>
replaceRoot
(
value
:
TExpression
)
:
Bson
Creates a $replaceRoot pipeline stage
Return
the $replaceRoot pipeline stage
Parameters
the new root type
value
the new root value