how to get firebase.database.ServerValue.TIMESTAMP

2019-07-18 16:03发布

问题:

is it possible to get firebase.database.ServerValue.TIMESTAMP value after I did update operation?

my code looks like

    return firebase.database().ref('pathurl...').update(newData);

and my newData have inside attribute that have firebase.database.ServerValue.TIMESTAMP is it possible to get the TIMESTAMP value that I push?