腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
为什么
firestore
多个
whereEqualTo
不
工作
kotlin
、
google-cloud-firestore
我的代码查询如下所示: shiftCollection .
whereEqualTo
("terminal", "1") .orderBy("startDate", Query.Direction.DESCENDING)
浏览 24
提问于2019-07-05
得票数 0
回答已采纳
2
回答
是否可以在
firestore
查询中设置
多个
指向文档中某个字段的.
whereEqualTo
?
java
、
android
、
firebase
、
google-cloud-firestore
我试过这个: .
whereEqualTo
(
FIRESTORE
_EVENT_FIELD_CITY,"Tokyo") .
whereEqualTo
(
FIRESTORE
_EVENT_FIELD_IS_ACTIVE,true).
whereEqualTo</e
浏览 3
提问于2019-12-26
得票数 0
1
回答
如何查询包含Fi还原文档中给定值的文档?
android
、
firebase
、
google-cloud-firestore
图中显示了我的
Firestore
结构我的
Firestore
文档有很多文档,其中一个显示了图片。在我的Android应用程序中,我想查询所有价值为"3P“、”紧急“和”任务挑战“的文档。如何在
Firestore
中做到这一点。
浏览 4
提问于2021-06-28
得票数 0
回答已采纳
1
回答
Firestore
multiple
whereEqualTo
on nested
android
、
firebase
、
google-cloud-firestore
考虑到
多个
whereArrayContains()不起作用,我对嵌套HashMap上的
多个
whereEqualTo
()有问题。我正在用firebase制作简单的聊天应用程序,在某种程度上,我需要确定来自
firestore
的聊天文档是否存在两个用户ids。我当前的聊天
firestore
设置是: chatId : { lastMessageTime: long memberIds: {("memberIds., + curren
浏览 24
提问于2019-02-06
得票数 1
回答已采纳
1
回答
选择文档字段包含
Firestore
中的字符串的位置?
android
、
firebase
、
google-cloud-firestore
如何在
Firestore
中选择字段值包含'pp‘的文档;如何在
firestore
中添加像whereContains("title","pp")这样的选项?
firestore
添加了
多个
where原因,但我们还需要“包含”来改进搜索。有没有其他可用的方法或者
firestore
开发人员忽略它?db2 = FirebaseFirestore.getInstance(); db2.collection("products"
浏览 4
提问于2018-05-20
得票数 1
1
回答
无法查询
多个
值的固定数据库
firebase
、
google-cloud-firestore
我有一个装满汽车的数据库。JSON格式如下: "countries": ["Netherlands"] }db.collection("EU-CARS") .whereArrayContains("cities", "A
浏览 0
提问于2019-04-15
得票数 0
回答已采纳
2
回答
如何在带有firebase的android演播室中使用
多个
过滤器
java
、
android
、
firebase
、
firebase-realtime-database
我想在firebase数据库中使用
多个
过滤器,比如SELECT * table_name WHERE age=20 && country = UK && weight=60。
浏览 3
提问于2020-04-14
得票数 2
回答已采纳
1
回答
在android的where子句中有两个参数来访问
firestore
数据库的选项吗?
android
、
google-cloud-firestore
有没有办法在android中为
firestore
编写一个原始查询或传递
多个
参数?我已经尝试过 `db.collection("users").
whereEqualTo
("uername", "JHON")` 但我只能传递一个参数,不能传递
多个
参数。我想将下面的示例SQL查询转换为
firestore
查询 示例: select * from login where username = "Jhon" and password =
浏览 27
提问于2019-06-18
得票数 1
回答已采纳
2
回答
如何在firebase
firestore
中应用
多个
不同深度级别的where子句?
android
、
firebase
、
kotlin
、
google-cloud-firestore
我正在尝试使用
多个
where条件从Firebase
Firestore
中获取数据。问题是where条件要应用于不同的级别。` .
whereEqualTo
("sex", oppositeSex) .whereNotEqualTo("oppositeSex = if (currentUserSex == "Male") "Female" else "Ma
浏览 8
提问于2021-06-18
得票数 0
1
回答
Firebase数据库结构,可实现更好的查询
database
、
firebase
、
google-cloud-platform
、
google-cloud-firestore
、
nosql
我来自SQL背景,一直在艰难地决定如何构建
Firestore
数据库以进行更好的查询,我认为通常你会浏览药店及其数据库的列表,但有没有一种方法可以让所有药品都有一个数据库,其中可能有一个字段,其中包含
Firestore
浏览 17
提问于2021-09-21
得票数 0
回答已采纳
2
回答
如何根据被分配给具有许多不同邮政编码的人从
Firestore
获取数据?
android
、
firebase
、
kotlin
、
google-cloud-firestore
下面是从
firestore
中提取数据的代码。然而,作为应用程序开发的一部分,我的需求也发生了变化。现在,我需要的是只为被指派为某一特定地区服务的人提取订单,该区域可与每一项订单所具有的邮政编码识别。根据我的新要求,每个邮政编码都分配给某人(一个人可以被指派为
多个
邮政编码提供服务)。我只需要向用户展示那些他被指派提供服务的订单。如果只将一个ZIP分配给服务提供商,我知道如何提取数据。listOf("Pending", "Order Received", "In Process", "Pack
浏览 1
提问于2021-06-24
得票数 1
回答已采纳
2
回答
返回kotlin中的add on Success Listener中的值
android
、
firebase
、
android-studio
、
kotlin
、
google-cloud-firestore
功能是 .addOnSuccessListener { result -> forArrayList<String> = arrayListO
浏览 14
提问于2022-03-23
得票数 2
2
回答
在
Firestore
中添加要收集的数据之前,获取文档的引用
java
、
android
、
firebase
、
google-cloud-firestore
因为没有足够的文档来描述
Firestore
的所有可能的
工作
场景,所以我很难使用
Firestore
。我在android中有以下GUI: 现在的问题是,当用户单击data.put("username", editText.getText().toS
浏览 0
提问于2018-04-26
得票数 0
回答已采纳
1
回答
FirebaseUI -在动态查询数据上填充RecyclerView
java
、
android
、
firebase
、
google-cloud-firestore
、
firebaseui
在任何给定的时间,我都希望侦听这个Collection中的项目数,并在基于另一个'Collection‘的Query对象上创建几个
whereEqualto
()调用,让我们称之为“轮询”:Log.v("FOLLOWED_USER_ID", userID);
浏览 2
提问于2018-05-05
得票数 0
回答已采纳
1
回答
Firebase固定恢复子集合安全查询
android
、
firebase
、
google-cloud-firestore
我的数据库中有以下规则: match /databases/{database}/documents {db.collection("performances").
whereEqualTo
(FieldPath.of("owner"), user.getUid()) 但是,如果我想获取‘场景’子集合的内容,就会得到一个错误:"com.
浏览 0
提问于2018-03-22
得票数 3
回答已采纳
1
回答
Firebase集合上的
多个
查询筛选器
java
、
android
、
firebase
、
google-cloud-firestore
我想将
多个
查询过滤器应用到
Firestore
集合上,但我不知道如何做到这一点。如果我用一个过滤器,它就能正常
工作
。ArrayList<TaskItem> taskList;tasks =
firestore
.collection("Tasks"); t
浏览 1
提问于2021-05-26
得票数 0
回答已采纳
3
回答
为什么
Firestore
有时
不
返回任何东西,没有错误,什么也
不
返回?
swift
、
firebase
、
google-cloud-firestore
我正在做一个简单的查询,并且定期地
Firestore
不
返回任何内容。没有错误没有结果什么都没有。
Firestore
.
firestore
().collection("groupChats") // nothing inside here ever hits我不太确定如何继续或调试这一点,因为这似乎在<
浏览 1
提问于2018-12-10
得票数 10
回答已采纳
2
回答
拒绝
Firestore
查询权限
android
、
google-cloud-firestore
、
firebase-security
具体地说:service cloud.
firestore
{ function isSignedIn() {
浏览 1
提问于2018-06-29
得票数 1
回答已采纳
1
回答
Firestore
索引字段的顺序重要吗?
android
、
firebase
、
kotlin
、
indexing
、
google-cloud-firestore
对于我的一个集合,我创建了以下索引:
为什么
我需要一个不同的索引?没有提到它(至少在这里)。我使用的查询是: fun text
浏览 0
提问于2020-05-28
得票数 6
1
回答
多个
where查询,这些查询涉及isGreaterThan或isLessThan在不同的领域
firebase
、
google-cloud-firestore
、
nosql
我需要一些帮助,在我的查询中使用
多个
where子句,涉及
多个
字段上的"lessThan“和"greaterThan”。举个例子,假设我需要找到一家平均食物价格低于15,评级高于3的餐厅。Query =
Firestore
.instance.where("avgPrice" , "<", 15).where("rating" , ">", 3).orderBy("rating"); 现在,根据
Firest
浏览 2
提问于2021-01-18
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
谷歌Cloud Firestore发布,零管理的数据库是亮点
服务器寿命周期内只会关机一次,为什么能够长时间工作而不宕机?
为什么努力工作的人很容易辞职,而偷懒耍滑的人会一直待在公司不走?
为什么年轻人不找踏实的工作,而去拍视频做自媒体?自媒体能当事业?
为什么中国人这么勤奋工作时间比欧美国家多得多,却还是富不起来
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券