腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
4
回答
按
对象
键
进行
Firestore
查询
javascript
、
angular
、
firebase
、
google-cloud-firestore
我在
firestore
中的一个集合中有一系列嵌套
对象
,它们都有一个UID
键
。我想要
查询
与某个用户相关的所有文档,方法是检查它们的UID是否为
对象
键
(基本上是它是否存在)。这是
firestore
中的模型: ? 我知道我可以通过该状态来
查询
,但是它在不断更新,因此会导致问题
浏览 32
提问于2019-01-30
得票数 6
0
回答
在
Firestore
REST API中
查询
嵌套
对象
firebase
、
firebase-realtime-database
、
google-cloud-firestore
我一直在
查询
Firestore
REST API。我知道如何
按
常规
键
过滤,但我不知道如何
按
嵌套
对象
键
查询
。基本上,在浏览器客户端中,我可以 .where("members.有人知道如何基于嵌套
对象
查询
Firestore
REST API吗? 谢谢!
浏览 6
提问于2017-12-05
得票数 11
回答已采纳
1
回答
减少请求Firebase的数量
google-cloud-firestore
我想知道在Cloud
Firestore
上读一次要花多少钱。例如,应用程序正在加载一个集合的
对象
和其中的所有字段。这个
对象
是1次读取还是10次读取,因为该
对象
有10个字段(名称、图像链接、描述、uuid、createDates、价格3等)?
浏览 34
提问于2019-10-02
得票数 2
1
回答
使用Flutter和
Firestore
中的新数据更新StreamBuilder
flutter
、
google-cloud-firestore
、
stream-builder
我在Flutter中使用StreamBuilder来获取
firestore
集合users的实时更新。我想
按
年龄过滤用户。UserList(minAge, maxAge), print(snapshot.data);); 基本上,底层的
firestore
查询
只是一个简单的where
查询
。('age', isLessThan: maxAge) .snapshots(); 每次
浏览 13
提问于2020-10-25
得票数 0
1
回答
查询
Firestore
集合中的所有文档而不循环
javascript
、
reactjs
、
firebase
、
google-cloud-firestore
我一直致力于将一个小的Firebase项目转换到新的,类似的
Firestore
db,因为它更具可
查询
性,但我遇到了一个简单的
查询
问题。在Firebase中,我可以这样做: const Club =
firestore
.ref('clubs'); return我正在尝试用
Firestore
来复制这一点,但我只能遇到一个解决方案,它涉及到创建一个新的数组并循环结果,然后将每个结果添加到该数组中。下面是我尝试使用
浏览 2
提问于2017-10-11
得票数 14
1
回答
是否有一种方式来
查询
特定的中间部分的一个消防局集合?
javascript
、
firebase
、
google-cloud-firestore
是否有任何方法可以只读取
查询
中的某个
查询
中的文档,而不只是使用limit或limitToLast来获取一端。一种获得由服务器时间戳分类的文档10-20的方法。
浏览 1
提问于2020-05-26
得票数 1
回答已采纳
1
回答
Firestore
云文档中
对象
和
键
的动态更新
javascript
、
object
、
google-cloud-firestore
我正在更新一个包含多个
对象
的
firestore
文档。[month]: admin.
firestore
.FieldValue.increment(1) var allCat = admin.
firestore
(1), [year]: admin.
firestore
.Fi
浏览 0
提问于2019-08-16
得票数 0
1
回答
从
Firestore
集合中获取最后一个文档
swift
、
firebase
、
uitableview
、
firebase-realtime-database
、
google-cloud-firestore
我有一个从
Firestore
集合获取文档的tableViewController,称为"paperHole“,我有一个refreshControl,它是一个刷新tableView的UIrefreshControl,但在这个refreshControl操作中,我只想获取
Firestore
中记录的最后一个文档。struct GlobalVariable{} or
浏览 2
提问于2021-02-08
得票数 0
1
回答
似乎无法获取包含子集合的文档
firebase
、
go
、
google-cloud-firestore
我有一个具有子集合的树状结构,我可以在其中构建、插入
对象
和从中获取,但我不能在中间列出文档。现在我可以
按
周获取事件,但要按月获取事件,我必须获取树中间的文档列表,然后获取它们的子集合的文档。
浏览 0
提问于2018-10-31
得票数 1
2
回答
按
对象
查询
Firestore
集合
firebase
、
google-cloud-firestore
我创建了一个名为“book”的集合,在其中我创建了一个
对象
(也就是。dict)被称为“用户”。该
对象
如下所示: 5PPCTcdHOtdYjGFr7gbCEsiMaWG3: firebase.
firestore
.FieldValue.serverTimestamp() }现在我想
查询
属于某个用户的所有图书。
浏览 0
提问于2017-10-16
得票数 4
1
回答
角-如何显示
对象
数组
angular
、
loops
、
object
、
google-cloud-firestore
我有一个基本的Fi还原集合
查询
。我已经将每个返回的项添加到一个
对象
数组中。我真正想做的是在HTML中循环这些内容,并显示
键
和值。 querySnapshot.forEach((doc) => { this.
firestore
_albums.push({ ...data });
浏览 0
提问于2019-02-26
得票数 0
1
回答
带位运算符的云固定
查询
/筛选器
firebase
、
google-cloud-firestore
我想
查询
我的Cloud数据库上的所有文档,它有一个标识符,在对它执行某些
按
位操作时返回true。我研究过,但似乎不支持
按
位运算符。我错过了什么吗?有任何方法可以使用位运算符
进行
查询
吗?如果没有,是否有其他的解决办法?
浏览 1
提问于2019-05-05
得票数 0
回答已采纳
2
回答
将Map<Object,Object>转换为Map<String,Object>
dart
在Map(Object,Object)类型上有一个类,其中我知道
键
都是字符串。如何轻松地将其转换为Map(String,Object)?具体来说,
对象
来自于一个
Firestore
查询
Firestore
.instance.collection('schedule').document('nfl-2018').snapshots().data.data
浏览 5
提问于2018-07-09
得票数 7
回答已采纳
1
回答
云
Firestore
是否等同于AppEngine/Datastore Memcache和仅
键
查询
?
database
、
firebase
、
google-cloud-datastore
、
google-cloud-platform
、
google-cloud-firestore
在数据存储上使用仅
键
查询
,然后从memcache获取实体,这是一种一次读取大量实体的廉价机制。例如,可以对1000个
键
进行
仅
键
查询
,该
查询
可用于从memcahce获取实体,而不必执行许多数据存储读取。 Cloud
Firestore
会提供这样的功能吗?
浏览 1
提问于2017-10-06
得票数 6
1
回答
将动态
对象
添加到
Firestore
javascript
、
arrays
、
firebase
、
object
、
google-cloud-firestore
我想要一个包含带有布尔值的
键
(会话id)的
对象
。我想在
Firestore
中看到的是: cs_test_foo,], cs_test_foo: false,cs_test_bar: false我现在所做的是: id: 'cs_test_xxx' sessions: admin.
firestore
.FieldValue.arrayU
浏览 0
提问于2020-05-13
得票数 0
回答已采纳
1
回答
从Array获取Fi还原
对象
属性
javascript
、
firebase
、
google-cloud-firestore
我以前有一个具有以下结构的文档:members: ['userId1', 'userId2', 'userId3']const docsSnapshotmembers: [{ id: 'userId1', name: 'John Smith' }, { id: 'userId2', name: 'Jane Smith' }] 我面临的挑战是,我不知道如何构造一个<em
浏览 4
提问于2022-05-09
得票数 0
回答已采纳
1
回答
如何在从
Firestore
获得数据后使用Flutter创建线程注释?
firebase
、
flutter
、
dart
、
google-cloud-firestore
、
flutter-layout
parent_post_id children_comment_id author_id但是,当我使用
firestore
.collection我需要的能力,重新安排在应用程序后,从
Firestore
的数据,并将答复直接放在他们的父母下面,并按照日期安排他们。我该怎么做呢?谢谢。
浏览 7
提问于2021-12-06
得票数 0
1
回答
Firestore
:
按
对象
属性
查询
文档
android
、
google-cloud-firestore
使用
对象
属性从Firebase
Firestore
文档中
查询
。document{ user: { email:"example@gmail.com"} 如何从集合中
查询
浏览 0
提问于2018-12-11
得票数 3
回答已采纳
1
回答
Firestore
:
按
对象
属性
查询
文档
firebase
、
google-cloud-firestore
fred@xpto.com: { name: 'Fred', text: 'marketing' }如何使用电子邮件'susan@xpto.com‘检索文档firebase.
firestore
().collection('contacts') .where(new firebase.
firestore
.FieldPath('emails', email), '==', true)
浏览 0
提问于2018-04-02
得票数 4
2
回答
错误:没有为setQuery(com.google.firebase.
firestore
.Query,Class<Note>)找到合适的方法
java
、
android
、
firebase
adapter.stopListening();}error: no suitable method found for setQuery(com.google.firebase.
firestore
.Query
浏览 4
提问于2020-01-30
得票数 0
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
实时音视频
云点播
活动推荐
运营活动
广告
关闭
领券