Why Google Solutions Products Pricing Getting started Docs सहायता
Docs सहायता
Contact Sales Get started for free

@google-cloud/firestore 0.10.2 » Class: WriteResult

Property

writeTime

read-only

string

The write time as set by the Firestore servers. Formatted as an ISO-8601 string.

Example

let documentRef = firestore.doc('col/doc');

documentRef.set({foo: 'bar'}).then(writeResult => {
  console.log(`Document written at: ${writeResult.writeTime}`);
});