setToServerValue property

String? setToServerValue
getter/setter pair

Sets the field to the given server value. Possible string values are:

  • "SERVER_VALUE_UNSPECIFIED" : Unspecified. This value must not be used.
  • "REQUEST_TIME" : The time at which the server processed the request, with millisecond precision. If used on multiple fields (same or different documents) in a transaction, all the fields will get the same server timestamp.

Implementation

core.String? setToServerValue;