【发布时间】:2020-08-12 22:27:52
【问题描述】:
我使用颤振。我想仅在 2020 年 4 月 26 日这一周在 Firebase 中将 CH 的值更新为 false。什么时候有办法?
Ex.cord 失败:
_firestore.collection('member').document(uidMember[index])
.updateData({'statistics': [{'${submit}': val,}]});
【问题讨论】:
-
读取文档,修改内存中的数组,然后写回文档。
-
你能提供一些代码吗?您在哪里尝试阅读数据以及与此问题相关的任何内容?
-
我不知道获取有关该部分的数据。 Ex._firestore.collection('member').document(uidMember[index]) .updateData({'statistics': [{'${submit}': val,}]}); X 失败
标签: arrays firebase flutter dart google-cloud-firestore