[Feature Request] Saving timestamp values
tomoyuki28jp opened this issue · 3 comments
tomoyuki28jp commented
To implement this functionality, it may be necessary to transmit the 'transform' property. https://gist.github.com/mikelehen/6c8f67164f18b7b49135231f1cc0cf29
alexiglesias93 commented
The Firestore API already includes the createTime
and updateTime
timestamp values by default, as far as I know this is already included in the library too:
API ref:
https://cloud.google.com/firestore/docs/reference/rest/v1/projects.databases.documents#get
Fireworkers:
Line 93 in 00de6db
tomoyuki28jp commented
If I understand correctly,
- The library only allows the metadata createTime/updateTime to be used, but we can't sort or filter on those columns googleapis/nodejs-firestore#873
- We cannot use this library to store timestamp type data
tomoyuki28jp commented
I will probably not be using this library, so feel free to close this issue if you don't need the feature!