腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
2
回答
如何
通过
key
中
的
引用
值
来
获取
firestore
数据
firebase
、
nosql
、
google-cloud-firestore
、
angularfire
、
angular7
下面是多个offer文档,每个offer包含
引用
用户集合和用户id
的
bidderId。 我想
获取
包含用户集合
的
报价列表。 我正在使用angularfire,这是我
的
代码。const id = a.payload.doc.id; console.log(
key
.payload.data());
浏览 10
提问于2019-02-07
得票数 1
2
回答
Firestore
文档
中
引用
类型
的
用例是什么,以及
如何
在android应用
中
特殊使用它?
java
、
android
、
firebase
、
google-cloud-platform
、
google-cloud-firestore
在我
的
Android应用程序
中
,如果我
通过
获取
文档
的
引用
类型字段
的
值
来
获取
文档路径,那么我将
如何
调用它?因为我将要
获取
的
引用
路径类似于/Users/OctUsers/1stWeekUsers/OlCvJFfWZeAlcttdlgzz/,而用于检索
Firestore
文档
的<
浏览 20
提问于2019-10-09
得票数 1
回答已采纳
2
回答
Firebase函数
中
的
条件语句
firebase
、
firebase-realtime-database
、
google-cloud-firestore
、
google-cloud-functions
我
的
应用程序中有两种类型
的
用户。我希望
通过
防火墙、火药库和实时
数据
库在线检测它们
的
存在。但是,只有user1条件语句在我部署它时执行.。to Realtime Database const user1StatusFirestoreRef =
firestore</
浏览 2
提问于2021-02-07
得票数 0
2
回答
无法访问
中
的
Fi还原文档
firebase
、
google-cloud-firestore
、
google-cloud-functions
问题:类型错误 functions.
firestore
浏览 0
提问于2018-09-18
得票数 0
回答已采纳
1
回答
Firestore
查询whereEqualto和文档未从
Firestore
DB
获取
数据
android
、
android-studio
、
google-cloud-firestore
我是一个使用Android studio和
Firestore
DB
的
新手。我正在尝试从
firestore
加载几行文本到我
的
android应用程序
中
。在调试时,我注意到whereEqualto字段名这行代码没有读取所需
的
数据
。在
获取
数据
时,我不知道哪里出错了。任何帮助都将不胜感激。这是我
的
代码。public int getTopic_id() { } } he
浏览 15
提问于2021-07-22
得票数 0
2
回答
Ruby
的
FireStore
-
如何
订阅文档更改
ruby
、
google-cloud-firestore
我想使用订阅ruby
中
的
firestore
文档
中
的
更改。我可以使用以下代码
获取
文档
引用
和
数据
,但不确定
如何
订阅更改
firestore
= Google::Cloud::
Firestore
.new(project_id: 'project_id/google-cloud-
key
.json') # Ge
浏览 0
提问于2018-06-26
得票数 2
1
回答
不能用React
获取
火源集合
reactjs
、
firebase
、
google-cloud-firestore
、
react-hooks
我用
的
是反应钩+火力基地。 const Dashboard = () => { {console.log(firebase.db.collection("projects"))} ); }
浏览 1
提问于2019-04-07
得票数 0
回答已采纳
1
回答
如何
通过
引用
FireStore
中
的
类
来
存储
值
swift
、
firebase
、
google-cloud-firestore
、
messagekit
我正在使用SWIFT4.2和
FireStore
中
的
MessageKit库创建一个聊天应用程序。我
的
问题是,我无法在Message类
中
存储
通过
使用addSnapshotListener进行实时通信获得
的
数据
并确认类
的
内容,但我不认为这是错误
的
。 messageListener工作正常。我用document.data ()检查了返回
值
,但返回了
值
。
如何
通过</
浏览 8
提问于2018-12-12
得票数 0
1
回答
context.params.userId未定义
firebase
、
google-cloud-functions
、
firebase-cloud-messaging
我想从context.params
中
获取
userId,但当我访问它时,在函数日志
中
得到"UserID 1: undefined“。下面是该函数
的
代码: return Promise.all(console.log('End of funct
浏览 2
提问于2021-05-06
得票数 1
2
回答
具有两个不同字段
的
OrderBy和StartAt
firestore
node.js
、
google-cloud-firestore
、
pagination
在我
的
应用程序
中
,我有一个字段
值
为threadCommentCount
的
评论。问题是当threadCommentCount为0时,由于每次都是从0开始,所以每次都会返回相同
的
数据
。startAfter) .get() 一旦threadComment计数为0,这将在每次返回相同
的
注释我真的不关心评论在threadCommentCount为0后是
如何
浏览 0
提问于2020-09-07
得票数 0
1
回答
如何
在
Firestore
中
获取
文档密钥
ios
、
swift
、
google-cloud-firestore
我正在尝试将现有的Firebase实时
数据
库迁移到
firestore
,并在我
的
移动应用程序
中
更新api调用。我是
Firestore
的
新手,需要一些指导。我正在尝试使用这个函数在我
的
数据
库
中
获取
用户:
Firestore
.
firestore
().collection("users").getDocuments { snapshot, _,对于实时<
浏览 8
提问于2021-08-18
得票数 0
回答已采纳
1
回答
在
Firestore
中
获取
数据
ios
、
swift
、
firebase
、
firebase-realtime-database
、
google-cloud-firestore
在
Firestore
中有没有办法
获取
单个数组
中
的
数据
列表,例如,..in Firebase RealTimeDatabase我们
通过
调用单个
值
来
获取
数据
列表,而不是使用ForEachLoop...for示例在realtimeDatabase
中
,我们
通过
以下方式
获取
值: Database
浏览 11
提问于2019-07-18
得票数 0
2
回答
QueryReferences和快照
的
区别?
database
、
firebase
、
google-cloud-firestore
QueryReference和快照
的
实际区别是什么?在使用get()和data()等方法时,我有点困惑。在我看来,两者似乎都喜欢从商店返回
数据
。
浏览 0
提问于2019-08-26
得票数 4
回答已采纳
1
回答
优化时间序列
数据
的
Firestore
成本?
firebase
、
google-cloud-firestore
、
cloud
我一直使用Postgres
来
存储时间序列传感器
数据
,但我正在权衡使用
Firestore
的
成本,因为我更喜欢
Firestore
的
无服务器特性。我唯一担心
的
是
Firestore
的
成本,因为我要为每次读取付费。我希望能够在我
的
web应用程序上显示此传感器信息。现在,我每隔10秒
获取
一次
数据
,并
通过
400+感应点( postgres表
中
每行400列) 目
浏览 6
提问于2020-05-08
得票数 1
回答已采纳
1
回答
当Firebase计划云函数执行时,
如何
获得时间?
javascript
、
firebase
、
google-cloud-functions
、
scheduled-tasks
我将任务存储在具有时间戳、任务
数据
和一个名为active
的
布尔字段
中
,默认情况下为false。我有云功能,每15分钟运行一次,看起来是这样
的
。
如何
获得执行计划函数
的
时间?如果,比方说,时间是10:30,我想在代码
中
引用
该时间,这样
浏览 3
提问于2020-11-15
得票数 1
回答已采纳
4
回答
将元素追加到Firebase数组
ios
、
swift
、
firebase
、
firebase-realtime-database
如何
将元素附加到这样
的
数组
中
: 使用此代码,我将重写旧
数据
:self.refUsers.child(localUser.
key
!).
浏览 1
提问于2018-03-09
得票数 15
回答已采纳
1
回答
如何
从firebase
中
引用
的
文档
中
获取
数据
?
reactjs
、
firebase
、
google-cloud-firestore
在我
的
数据
模型
中
,我
引用
了一个来自“卡片”文档
的
用户文档。 ? 我正在努力使用react
获取
用户文档
的
数据
。onSnapshot(doc(
firestore
, "cards", cardId), (doc) => { console.log(userDocument); }); 这段代码记录一个没有任何
数
浏览 19
提问于2021-08-26
得票数 0
2
回答
如何
通过
React native从firebase
中
删除数组
中
的
数据
?
reactjs
、
firebase
、
react-native
、
redux
、
google-cloud-firestore
我可以在每个帖子
的
数组
中
创建一个评论,并将其显示为一个平面列表。请让我知道在哪里检查文档或链接。 db.collection("posts") .update({ comments: firebase.
firestore
.FieldValue.arrayUnion
浏览 6
提问于2020-07-03
得票数 1
2
回答
火基修复:
如何
从另一个集合
中
访问集合
firebase
、
google-cloud-firestore
我正在使用Vue.js和
Firestore
。现在我有两个集合--users和orders。在orders集合
中
,我已经存储了每个user集合文档
的
id。我现在必须从这里
获取
相应用户
的
详细信息。这就是我迄今所做
的
orderRef.onSnapshot(snapshot => { userInfo: db.c
浏览 3
提问于2020-02-10
得票数 0
回答已采纳
1
回答
如何
在
Firestore
(Swift)
中
存储
数据
swift
、
firebase
、
google-cloud-firestore
我有一个使用
的
iOS应用程序,并且在更新
数据
方面有问题。我
的
目标是一个接一个地将urls添加到字典
中
,但我得到
的
只是重写了一个
值
。我应该
如何
使用setData和updateData?试过不同
的
方法这是我试过
的
。任何建议都会很好,谢谢提前!UPD:尝试将我
的
字典移到子集合,但是在.coll
浏览 0
提问于2018-04-29
得票数 1
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
实时音视频
对象存储
即时通信 IM
活动推荐
运营活动
广告
关闭
领券