腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
在
firestore
中
使用
whereGreaterThanOrEqualTo
时
出现
错误
javascript
、
google-cloud-firestore
我
在
使用
firebase的
whereGreaterThanOrEqualTo
时
遇到
错误
。我尝试做的是
在
我的数据库
中
搜索,如果它以相应的字母开头,下面是我的代码: constructor(
fireStore
, rootStore) {this._employeeInfo = this.((doc) => { employeeList.push(d
浏览 16
提问于2020-05-02
得票数 0
3
回答
在
Android
中
的get查询
时
出现
错误
android
、
firebase
、
kotlin
、
google-cloud-platform
、
google-cloud-firestore
当我
在
Firestore
中
使用
以下查询
时
,
出现
了一个
错误
:query = database.collection("CustomerViews/Data/Post") .orderBy("postDate", Query.Di
浏览 6
提问于2021-11-09
得票数 1
回答已采纳
2
回答
是否可以
在
firestore
查询
中
设置多个指向文档
中
某个字段的.whereEqualTo?
java
、
android
、
firebase
、
google-cloud-firestore
我试过这个: .whereEqualTo(
FIRESTORE
_EVENT_FIELD_CITY,"Tokyo") .whereEqualTo(
FIRESTORE
_EVENT_FIELD_IS_ACTIVE,true).whereEqualTo(
FIRESTORE
_EVENT_FIELD_HA
浏览 3
提问于2019-12-26
得票数 0
1
回答
固定恢复查询按时间和分数对帖子进行排序
java
、
android
、
firebase
、
google-cloud-firestore
我试图通过
使用
以下代码按时间和业力对趋势帖子进行排序: .orderBy("time",com.google.firebase.
firestore
.Query.Direction.DESCENDING) .
whereGreaterThanOrEqualTo
("time",(System.currentTimeMillisvoid onFailure(@NonNu
浏览 0
提问于2018-01-28
得票数 1
3
回答
Firebase不平等的查询不能在Android上工作
android
、
firebase
、
google-cloud-firestore
但是,它没有处理这个android代码片段,而且我得到了未解决的引用:
使用
where
时
在哪里出错。
firestore
.collection("Contacts") .where} } 我
使用
最新的Firebase Android库,并在Android 4.0.2上运行
浏览 8
提问于2020-10-13
得票数 0
回答已采纳
3
回答
如何
使用
android的多个文档字段
在
Firestore
中进行搜索?
android
、
firebase
、
google-cloud-firestore
我正在
使用
Firestore
为android存储数据。我试着从文件
中
搜索数据。collectionOfProducts .
whereGreaterThanOrEqualTo
offerPrice)
浏览 0
提问于2018-03-22
得票数 6
1
回答
是否可以
在
Fi还原时间戳上执行条件?
android
、
google-cloud-firestore
我通过以下方式将用户输入的日期存储到Calendar对象
中
:Calendardb = FirebaseFirestore.getInstance(); .
whereGreaterThanOrEqualTo
("Date", startDate) .whereLessThanOrEqualTo("Dat
浏览 2
提问于2020-10-03
得票数 0
回答已采纳
1
回答
如何在android中
使用
复合查询从
Firestore
中
获取文档
android
、
firebase
、
indexing
、
google-cloud-firestore
我已经为应用程序
中
的所有下拉式微调器构建了一个类似这样的firebase查询。实际上,我
在
我的android应用程序中有超过20个微调工具,可以根据所选的下拉列表从firebase
firestore
集合
中
搜索用户。目前,我
使用
if else条件处理了所有可能的场景,并基于任何选定的微调控件进行复合查询。但这不是我目前
使用
的好方法。rangeBarRating.getRightIndex()); }else if ((rangeBarAge.getLeftIndex()+18)
浏览 8
提问于2019-02-15
得票数 0
回答已采纳
1
回答
在
协程流程
中
组合多个
firestore
任务
kotlin
、
google-cloud-firestore
、
kotlin-coroutines
、
coroutine
下面的代码给了我想要的结果,通过
使用
协程流程从
firestore
获取数据。emit(State.loading()) .
whereGreaterThanOrEqualTo
State.success(post)) emit(State.failed(it.message.toString())) }.flowOn(Dis
浏览 23
提问于2020-12-02
得票数 1
回答已采纳
2
回答
如何强制
在
Firestore
中
获取缓存的文档?我想在联机时获得缓存的文档
android
、
firebase
、
caching
、
google-cloud-firestore
(
FIRESTORE
_EVENT_FIELD_CITY,selectedCity) .
whereGreaterThanOrEqualTo
(
FIRESTORE
_EVENT_FIELD_DATE_START_TIME,now.toDate()),消防局将自动
使用
缓存的文档。否则,只需从以前从服务器获取的缓存文档
中
获取数据,而不
浏览 0
提问于2019-09-30
得票数 0
回答已采纳
1
回答
如何获取单据的各个字段
android
、
firebase
、
google-cloud-firestore
此代码检索日期
在
greaterThan和lessThan之间的user/sets
中
的所有文档。我正在
使用
Cloud
Firestore
。.collection("sets") dbSets }
浏览 0
提问于2018-07-02
得票数 0
1
回答
如何使RecyclerView只
使用
数组中有大于X的数字的文档
java
、
android
、
firebase
、
android-recyclerview
、
google-cloud-firestore
我的数据库如下:如果我要
使用
RecyclerView,我如何才能只检索schedules数组
中
包含数字1908150000的文档(例如)?我知道的一件事是,我可以
使用
以下代码看到具有上述条件的文档:CollectionReferencedocumentSnapshot.getId()); }
浏览 0
提问于2019-08-06
得票数 1
回答已采纳
2
回答
FireBaseCloudFi还原查询whereEqualTo供参考
android
、
firebase
、
google-cloud-firestore
我正在尝试创建一个查询,该查询只选择引用等于给定引用的文档,并
使用
Java进行Android开发。它将匹配的文档包含路径“/user/someUser”的引用。mDatabase.collection("myCollection").whereEqualTo("refField", ref).limit(10); 但是,当我运行查询并在onComplete方法
中
检查onComplete
时
,它没有传递,也就是说它没有工作,而当我移除.whereEqualTo()
时
浏览 2
提问于2018-06-27
得票数 4
回答已采纳
1
回答
修复
错误
“更新不存在的查询”
javascript
、
firebase
、
google-cloud-platform
、
google-cloud-firestore
在
执行如下代码
时
,会
出现
像图像这样的
错误
。@firebase/
firestore
: - "
Firestore
(5.5.0):
FIRESTORE
(5.5.0) INTERNAL ASSERTION FAILED: Updating a non-existentquerySnapshot) => { console.log(doc.data());
浏览 3
提问于2018-09-15
得票数 3
4
回答
如何在node js
中
启用` in reUnfinedProperties`
javascript
、
node.js
、
express
、
google-cloud-firestore
但每次我尝试发送一个请求
时
,我都会得到一个未定义的
错误
。请告诉我怎样才能启用'ignoreundefinedproperties‘
浏览 3
提问于2020-05-23
得票数 27
回答已采纳
1
回答
删除RecyclerView刷新动画
android
、
android-recyclerview
、
google-cloud-firestore
我
使用
FirestorePagingAdapter将来自
Firestore
的数据填充到RecyclerView
中
。每次用户
使用
SwipeRefreshLayout刷新数据或
使用
简单的搜索功能
时
,RecyclerView都会闪烁以更新内容。我希望能够删除其闪烁,这样已经加载/缓存的数据将保持原样。searchText) { Query searchQuery
浏览 1
提问于2020-09-02
得票数 0
回答已采纳
1
回答
如何在Swift
中
不硬编码用户集合文档id的情况下将数据添加到
Firestore
中
swift
、
firebase
、
google-cloud-firestore
最初,我
使用
一个子集合Users
在
Fi还原云数据库
中
创建了一个集合Wishlist。为了添加到愿望列表
中
,我硬编码了以下代码来测试它的工作情况: db.collection("users/wishlist").addDocument(data: ["plant" : plants[0], "image" : plants[
浏览 1
提问于2020-10-06
得票数 1
1
回答
如何在Firebase
Firestore
中
识别未
使用
的索引?
google-cloud-firestore
我有一个
使用
Firebase
Firestore
的应用程序。这是一个很棒的平台,我的应用程序每天都在增长,我的索引也
在
增长。但是,我怀疑它们有不必要的索引。但我不知道如何辨认他们。有没有办法
在
Firestore
中找到这一点?
浏览 0
提问于2020-11-13
得票数 3
1
回答
如何在FirebaseUI RecycleView
Firestore
android
中
实现搜索
java
、
android
、
google-cloud-firestore
、
android-recyclerview
mSnapshots.clear(); notifyDataSetChanged();
使用
给定的选项/查询获取所有documentSnapshots后,如何在recycleView
中
仅显示那些与我在此处键入的searchView文本匹配的快照- materialSearchView.setOnQueryTextListener
浏览 2
提问于2019-11-03
得票数 1
3
回答
我们可以像这样
使用
'
Firestore
‘吗?
firebase
、
flutter
、
google-cloud-firestore
最初的开发人员
使用
Firestore
,但在我的开发
中
,我得到了一个
错误
:“未定义的名称'
Firestore
‘。尝试将名称更正为已定义的名称,或者像这样定义名称”。我搜索了一下,
在
文档
中
读到了我们可以
使用
"FirebaseFirestore“(也许我错了)。我正在学习用flutter编写后端,到目前为止,我做的是UI部件。因此,这是我第一次尝试
使用
flutter学习后端。context) .p
浏览 0
提问于2021-02-13
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Excel中公式不一致时出现错误提示怎么去掉
在使用VBA编程时可以避免的3个错误
富士致歉:在国家或地区选项中的英文描述出现严重错误
顺景ERP|化工ERP软件在使用中容易出现的问题
FlashFXP在连接站点时出现网络错误连接被同位体重置的原因及解决办法
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券