腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
firestore
whereEqualTo
总是
返回
true
java
、
android
、
google-cloud-firestore
我想在我的
firestore
数据库中设置一个监听程序。 我想监听一个名为isConfirmClicked的值,如果它等于1,我想知道它的情况。我使用以下代码: db.collection( "Users" ).document( NotMyID ).collection( "MyChats" ).
whereEqualTo
( "isConfirmClickedreturn; } ); 由于某些原因,即使在确定
浏览 16
提问于2020-08-16
得票数 0
回答已采纳
1
回答
Firestore
multiple
whereEqualTo
on nested
android
、
firebase
、
google-cloud-firestore
考虑到多个whereArrayContains()不起作用,我对嵌套HashMap上的多个
whereEqualTo
()有问题。userId1 :
true
} .
whereEqualTo
("memberIds., + currentUser.getUsername() "
true
") // which is memberIds.u
浏览 24
提问于2019-02-06
得票数 1
回答已采纳
1
回答
我可以使用if query语句编写
Firestore
查询吗?
java
、
android
、
firebase
、
google-cloud-firestore
(
FIRESTORE
_EVENT_FIELD_CITY,selectedCity) .
whereEqualTo
(
FIRESTORE
_EVENT_FIELD_HAS_BEEN_APPROVED,
true
) query.
where
浏览 3
提问于2019-12-20
得票数 3
回答已采纳
1
回答
Firestore
查询链接使用AND
android
、
firebase
、
google-cloud-firestore
如何链接
Firestore
的查询参数。我想动态添加查询参数(以及一些常用的参数)。但它似乎没有起作用。这是一个
firestore
限制吗?} else { }但是,尝试在查询对象引用上添加条件时,只会
返回
基于指定的第一个条件的结果this condition is applied firebaseQuery.
whereEqualTo
("user.active",&
浏览 6
提问于2018-01-04
得票数 1
1
回答
为什么在
Firestore
中使用分页时
总是
得到空文档?
android
、
firebase
、
kotlin
、
google-cloud-firestore
(
FIRESTORE
_EVENT_FIELD_CITY,selectedCity) .
whereEqualTo
(
FIRESTORE
_EVENT_FIELD_HAS_BEEN_APPROVED,
true
)(
FIRESTORE
_EVENT_FIELD_CITY,selectedCity)
浏览 1
提问于2019-08-07
得票数 0
回答已采纳
2
回答
是否可以在
firestore
查询中设置多个指向文档中某个字段的.
whereEqualTo
?
java
、
android
、
firebase
、
google-cloud-firestore
我试过这个: .
whereEqualTo
(
FIRESTORE
_EVENT_FIELD_CITY,"Tokyo") .
whereEqualTo
(
FIRESTORE
_EVENT_FIELD_IS_ACTIVE,
true
).
whereE
浏览 3
提问于2019-12-26
得票数 0
1
回答
如何查询包含Fi还原文档中给定值的文档?
android
、
firebase
、
google-cloud-firestore
图中显示了我的
Firestore
结构我的
Firestore
文档有很多文档,其中一个显示了图片。在我的Android应用程序中,我想查询所有价值为"3P“、”紧急“和”任务挑战“的文档。如何在
Firestore
中做到这一点。
浏览 4
提问于2021-06-28
得票数 0
回答已采纳
2
回答
如何根据被分配给具有许多不同邮政编码的人从
Firestore
获取数据?
android
、
firebase
、
kotlin
、
google-cloud-firestore
下面是从
firestore
中提取数据的代码。然而,作为应用程序开发的一部分,我的需求也发生了变化。现在,我需要的是只为被指派为某一特定地区服务的人提取订单,该区域可与每一项订单所具有的邮政编码识别。listOf("Pending", "Order Received", "In Process", "Packed", "Shipped") .
whereEqualTo
浏览 1
提问于2021-06-24
得票数 1
回答已采纳
1
回答
Firebase数据库结构,可实现更好的查询
database
、
firebase
、
google-cloud-platform
、
google-cloud-firestore
、
nosql
我来自SQL背景,一直在艰难地决定如何构建
Firestore
数据库以进行更好的查询,我认为通常你会浏览药店及其数据库的列表,但有没有一种方法可以让所有药品都有一个数据库,其中可能有一个字段,其中包含
Firestore
浏览 17
提问于2021-09-21
得票数 0
回答已采纳
1
回答
按生日确定查询文档,是否仅按日和月查询排除年份?
java
、
android
、
firebase
、
google-cloud-firestore
所以我所知道的是,我们只能按日期搜索像这个
firestore
.collection("user").
whereEqualTo
("birhtday", todaysDate),但我们知道它不会
返回
任何东西
浏览 3
提问于2019-10-23
得票数 0
回答已采纳
1
回答
如何检查是否存在于消防局中的特定数据?
android
、
firebase
、
google-cloud-firestore
flag = {0}; Query q1=cref.
whereEqualTo
("time",botime).
whereEqualTo
("dept",bodept); }
浏览 0
提问于2018-06-23
得票数 9
回答已采纳
1
回答
Firestore
collectionGroup查询在Unity中
返回
空结果
c#
、
firebase
、
unity3d
、
google-cloud-firestore
我的
Firestore
数据库设置是 ? 我想在"UserBasicInfo“子集合中找到"playerName”字段值。下面是我的代码: ` 查询= db.CollectionGroup("UserBasicInfo").
WhereEqualTo
("playerName",名称) Firebase.
Firestore
.QuerysearchingName = databasePlayerStats.playerName; }` 即使"name“存在
浏览 18
提问于2021-08-04
得票数 1
1
回答
无法查询多个值的固定数据库
firebase
、
google-cloud-firestore
我有一个装满汽车的数据库。JSON格式如下: "countries": ["Netherlands"] }db.collection("EU-CARS") .whereArrayContains("cities", "A
浏览 0
提问于2019-04-15
得票数 0
回答已采纳
2
回答
如何在firebase
firestore
中应用多个不同深度级别的where子句?
android
、
firebase
、
kotlin
、
google-cloud-firestore
我正在尝试使用多个where条件从Firebase
Firestore
中获取数据。问题是where条件要应用于不同的级别。` .
whereEqualTo
("sex", oppositeSex) .whereNotEqualTo("connections/likedBy",
true
) // this is the additional condition I
浏览 8
提问于2021-06-18
得票数 0
1
回答
Firestore
whereEqualTo
only单个数据
firebase
、
google-cloud-firestore
当您使用
whereEqualTo
将数据放入querySnapshot中时,它只
返回
列表类型。如果我只想
返回
一个文档,该怎么办?在我的应用程序中,我不得不使用
whereEqualTo
来获取朋友的UID。 除了指南和参考之外,还有什么地方可以学习
Firestore
的知识吗?引用有点难引用。
浏览 20
提问于2017-12-14
得票数 0
回答已采纳
1
回答
我们可以在android中使用
Firestore
发出几个请求吗
java
、
android
、
firebase
、
google-cloud-firestore
在带有
firestore
的android上,我想执行两个条件来显示结果 下面是我的函数请求 Query query=firebaseFirestore.collection("users").
whereEqualTo
("chauffeurs",""); 我想要另一个相等的条件("driver","Cyril")我必须尝试给出一个.
whereEqualTo
("drivers","Cyril"),但它不
浏览 19
提问于2021-01-29
得票数 2
1
回答
允许按标签进行筛选的Firebase本地化标记数据结构
firebase
、
google-cloud-platform
、
google-cloud-firestore
、
nosql
我想列出来自/products集合的所有数据。但是,我也想从/products集合中获取数据,这些数据都是由标记过滤的。我的设计理念: -tag_id_1: {en: "red", de: "rot"} -tag_id_3: {en: "blue", de: "
浏览 2
提问于2022-07-22
得票数 1
回答已采纳
2
回答
如何强制在
Firestore
中获取缓存的文档?我想在联机时获得缓存的文档
android
、
firebase
、
caching
、
google-cloud-firestore
因此,我有一种方法可以从
Firestore
查询文档: .
whereEqualTo
(
FIRESTORE
_EVENT_FIELD_CITY,selectedCity) .whereGreaterThanO
浏览 0
提问于2019-09-30
得票数 0
回答已采纳
1
回答
Android修复,查询数组
android
、
google-cloud-firestore
我想知道整个集合中是否存在123,456,789,就像普通查询一样,.
whereEqualTo
("address","P18/A CIT Road Ananda Palit");会给我第三个文档,这里我想查询cardQuery query = ref.
whereEqualTo
("card[]","???
浏览 1
提问于2018-04-04
得票数 4
回答已采纳
1
回答
如何获取所有字段并立即赋值?
android
、
google-cloud-firestore
如何获取所有字段并立即将其赋给某个变量我尝试了以下方法 db.collection("Users") .
whereEqualTo
浏览 9
提问于2019-07-31
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
如何利用BLoC在Flutter和AngularDart中共享代码?
跟我一起学python—控制流
python3从零学习-5.4.2、常见路径操作os.path
【函数分享】每日PHP函数分享
Spring Boot教程:构建微服务并部署至Google Cloud
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券