Replies: 3 comments 5 replies
-
No, the library is not support the document commit at this time. |
Beta Was this translation helpful? Give feedback.
-
Now the library update, v2.1.6 is available which document commit is added. This is the example for document commit which you can try. |
Beta Was this translation helpful? Give feedback.
-
For timestamp server value, it sets to the defined field path. You need to read value (timestamp type value) from that field path later. The result payload when use get document function with assigned document mask for timestamp field path will be as below.
You may need to parse the timestampValue which is the string in the payload to Unix timestamp or time yourself. |
Beta Was this translation helpful? Give feedback.
-
Hey just another quick question:
is it possible to use fieldTransform like this: https://stackoverflow.com/questions/57779415/cloud-firestore-rest-api-add-server-timestamp
to get a servertimestamp? If so, is it possible to use this as document id as well?
Beta Was this translation helpful? Give feedback.
All reactions