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
/
rename
rename
fun
<
T
>
rename
(
property
:
KProperty
<
T
?
>
,
newProperty
:
KProperty
<
T
>
)
:
Bson
Creates an update that renames a field.
Return
the update
Parameters
property
the property
new
Property
the new property