fun <T> currentTimestamp(property: KProperty<T>): Bson
(source)
Creates an update that sets the value of the property to the current date as a BSON timestamp.
Return
the update
Mongodb
.driver.manual reference/operator/update/currentDate/ $currentDate
Mongodb
.driver.manual reference/bson-types/#document-bson-type-timestamp Timestamp