【问题标题】:Are there any ways to get timestamp of document when created有没有办法在创建时获取文档的时间戳
【发布时间】:2020-01-05 16:48:42
【问题描述】:

创建消息传递应用程序时,我忘记在文档中添加时间戳。有没有办法在创建 firestore 文档时获取时间戳?

【问题讨论】:

    标签: firebase google-cloud-firestore timestamp


    【解决方案1】:

    文档没有这样的元数据。创建文档后,如果最初没有为其添加创建时间戳,则事后将无法找到它。

    【讨论】:

      猜你喜欢
      • 2020-04-10
      • 2021-12-27
      • 1970-01-01
      • 2020-10-30
      • 1970-01-01
      • 2012-01-29
      • 1970-01-01
      • 2022-01-24
      • 1970-01-01
      相关资源
      最近更新 更多