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

Parameters

property

the property