How can I add server timestamp to a document? (Firestore) #120
Unanswered
matanmarciano
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I suspect this is caused by a bug we are tracking here #113 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, following your documentation, I add
val timestamp: Double = ServerValue.TIMESTAMP
to my data model.after adding the document to the firestore DB, I cant see the 'timestamp' field in my firestore console.
and if I create my data model and provide implicit
ServerValue.TIMESTAMP
, the document contains timestamp with value: 'Infinity'So my question is- How can I add server timestamp to a document?
how can I get all documents ordered by this timestamp?
@nbransby nbransby
Beta Was this translation helpful? Give feedback.
All reactions