currentTimestamp

fun <T> currentTimestamp(property: KProperty<T>): Bson

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

Parameters

property

the property