-
I have read the documentation throughfully and i am unable to find a way to do this if there even is one in this library? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
There is nothing related between server timestamp and your timestamp value. The Values class is the placeholder for values that user used to fill the values for the request payload. Please check the library examples for how to work with server timestamp and the timestamp value. You can read the Firestore REST API documentation for detail. |
Beta Was this translation helpful? Give feedback.
-
https://firebase.google.com/docs/firestore/reference/rest/v1/Write#FieldTransform |
Beta Was this translation helpful? Give feedback.
-
The If you get the server timestamp keys that returned from any write operation response JSON payloads e.g. |
Beta Was this translation helpful? Give feedback.
The
Values::TimestampValue
class accepts the string in its constructor.If you get the server timestamp keys that returned from any write operation response JSON payloads e.g.
updateTime
andtimestampValue
, you can set it to theValues::TimestampValue
constructor directly as it is in RFC3339 UTC "Zulu" format.