Is there something equivalent to firebase.database.TIMESTAMP for Firebase Firestore ?
I would like that the timestamp of a field be determined by the Firebase servers in a write operation.
Is there something equivalent to firebase.database.TIMESTAMP for Firebase Firestore ?
I would like that the timestamp of a field be determined by the Firebase servers in a write operation.
When you are using
ServerValue.TIMESTAMP
You are fetching the timestamp from firebase db irrespective of which database you use either firestore or realtime database.