Reference documentation and code samples for the Cloud Firestore V1 Client class ServerValue.
A value that is calculated by the server.
Protobuf type google.firestore.v1.DocumentTransform.FieldTransform.ServerValue
Methods
name
Parameter
Name
Description
value
mixed
value
Parameter
Name
Description
name
mixed
Constants
SERVER_VALUE_UNSPECIFIED
Value: 0
Unspecified. This value must not be used.
Generated from protobuf enum SERVER_VALUE_UNSPECIFIED = 0;
REQUEST_TIME
Value: 1
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.