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
/
addFields
add
Fields
fun
addFields
(
vararg
fields
:
Field
<
*
>
)
:
Bson
fun
addFields
(
fields
:
List
<
Field
<
*
>
>
)
:
Bson
Creates an $addFields pipeline stage
Return
the $addFields pipeline stage
Parameters
fields
the fields to add