腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
如何
等待两个OnCreate Firebase函数完成
node.js
、
firebase
、
google-cloud-functions
问题是第二个OnCreate依赖于第一个OnCreate
文档
。因为在"Proveedores“
中
创建之前,我不知道"comida”
中
的
文档
id。这是我
的
数据
库: ? ?我想在创建来自"comida“
中
的
文档
id
的
"Pedidos”处
的
新
文档
时触发。这是我尝试过
的
: export const newP
浏览 14
提问于2021-11-18
得票数 0
回答已采纳
1
回答
如何
使用
Cloud
functions
访问
云
firestore
触发器
中
的
顶级
文档
中
的
数据
?
javascript
、
firebase
、
google-cloud-firestore
、
google-cloud-functions
示例:如果我
的
触发器
是( onWrite /{userId}/Billings/{billingId})这样
的
路径上
的
用户,我
如何
访问
用户
文档
数据
functions
.
firestore
.documentuserId}/Billings/{billingId}') })
浏览 5
提问于2019-07-02
得票数 0
1
回答
数据
存储模式下
Firestore
的
事件
触发器
-种类是否会以某种方式转换为集合名称?
firebase
、
go
、
google-cloud-firestore
、
google-cloud-datastore
根据官方
文档
,很有可能设置一个
云
函数,该函数将在
数据
存储
中
的
更改(添加新
文档
等)时调用。但是,这个功能看起来是为
Firestore
模式定义
的
,除非我遗漏了什么。对于初学者,我创建了一个简单
的
Go函数,旨在将事件对象打印到日志
中
: "context" "
cloud
.g
浏览 11
提问于2020-06-06
得票数 0
回答已采纳
1
回答
(Flutter)
如何
使用
Firebase
云
函数从
Firestore
检索
文档
firebase
、
flutter
、
google-cloud-firestore
我正在尝试用Node.js写一个
云
函数。 该函数需要以json形式返回
Cloud
Firestore
文档
数据
。我已经阅读了document,在那里我可以发现
云
函数可以在onCreate和onDelete等
Cloud
Firestore
事件上触发。但是,除了这些不更新或删除
文档
的
事件情况外,我想知道是否可以
使用
functions
.
firestore
对象来完成此操作。
浏览 15
提问于2021-01-07
得票数 0
回答已采纳
2
回答
如何
读取另一个具有Firebase
云
功能
的
用户
的
userInfo?
firebase
、
google-cloud-firestore
、
firebase-authentication
、
google-cloud-functions
我想要创建一个
云
功能,让用户在一定
的
条件下读取另一个用户
的
一些用户信息。const user1 = ???// user1 is the current user // ... // the endpoint deliver so
浏览 1
提问于2020-08-07
得票数 0
回答已采纳
1
回答
firestore
集合更改时
的
颤动通知(背景)
firebase
、
google-cloud-firestore
、
flutter
当应用程序未打开时,当订阅
的
集合(
firestore
)发生更改时,
如何
通知用户?提前谢谢。
浏览 19
提问于2018-05-28
得票数 4
1
回答
云
修复
触发器
不适用于
云
功能
javascript
、
node.js
、
firebase
、
google-cloud-firestore
、
google-cloud-functions
我正在尝试
使用
CloudFi还原
触发器
调用一个
云
函数。基本上,每当一个新
文档
被添加到“评论”
中
时,我
的
云
功能就是对我
的
子集合“评论”进行完整
的
导出。我有大约6-7个文件在我
的
‘评论’子收藏。但是,每当我向我
的
“评论”子集合添加一个新
文档
时,这个函数就不会被触发。谁能告诉我有什么问题吗?providers/
cloud
.
firestore
&
浏览 3
提问于2020-06-25
得票数 1
1
回答
开始
使用
用于Firebase和
Firestore
的
云
函数
firebase
、
google-cloud-firestore
、
google-cloud-functions
有谁能给我指点一下
如何
使用
云
函数来进行
Firestore
。我试图在这里跟踪
文档
:我收到消息: HTTP错误: 400,请求有错误const
functions
= require('firebase-
functions
'); const admin = require('
浏览 1
提问于2019-05-08
得票数 0
回答已采纳
1
回答
使用
云
存储
触发器
时可以
使用
变量吗?
firebase
、
triggers
、
google-cloud-firestore
、
google-cloud-functions
、
firebase-storage
当我
使用
Cloud
Firestore
触发器
时,我可以像这样
使用
变量: exports.profileCreated =
functions
.
firestore
.document('communities_data/{community}/profiles/{profileID}').onCreate((snap, context) => { }); 我可以<em
浏览 13
提问于2019-09-25
得票数 0
回答已采纳
2
回答
Firebase函数在创建新
文档
时不触发
google-cloud-firestore
、
google-cloud-functions
我已经成功地编写了一个通过twilio发送文本
的
函数。这是我
的
第二次尝试。我希望它在创建
文档
时随时发送文本。我
的
函数出现在web控制台中,并通过了错误检查。检查日志,没有错误或它触发
的
记录。我怀疑我
的
道路是错
的
,但我真的不知道问题出在哪里。当我创建一个
文档
时,我
使用
下面的路径: ("rooms/" + myUserId + "/" + "thread")
浏览 5
提问于2019-02-05
得票数 0
回答已采纳
1
回答
我可以
使用
云
功能为每个用户同时创建一个新
文档
吗?
node.js
、
firebase
、
google-cloud-firestore
、
google-cloud-functions
我发送这些文件
的
方法是:这对于通用消息很有效,但我想将它们个性化--这意味着我需要
访问
特定用户
的
子集合(如users/userID/products/product1 )
中
的
数据
。正如所描述
的
一样,无法
使用
Pub/Sub
触发器
直接获取用户
浏览 0
提问于2020-10-10
得票数 1
回答已采纳
1
回答
用云图更新
触发器
删除修复
中
的
文档
node.js
、
google-cloud-firestore
、
google-cloud-functions
我
使用
的
是
云
修复
触发器
。 // The
Cloud
Functions
for Firebase SDK to create
Cloud
Functions
and setup triggers. const
浏览 4
提问于2020-09-17
得票数 0
回答已采纳
2
回答
F恢复触发所涉费用问题
firebase
、
google-cloud-firestore
在火灾计划
中
,当涉及到火药触发时,会产生什么成本影响呢?我仍然有一种感觉,
触发器
不是从CPM/内存消耗
的
角度出发
的
。从这个角度看,我是否正确地理解了,可以像对待任何其他
的
防火墙函数一样对待消防局
触发器
?
浏览 2
提问于2020-10-07
得票数 7
回答已采纳
2
回答
如何
在
firestore
云
函数中
使用
通配符?
firebase
、
google-cloud-firestore
我尝试在
云
函数中
使用
一个通配符,其中
的
firestore
如下: exports.function_name=
functions
.https.onRequest((req, res) => { returnadmin.
firestore
().collection('users/messages/{messageCollectionId}') 但它不起作用。如果我
使用
一个实际
的
id,而不是通配符,它就会起作用
浏览 10
提问于2019-01-18
得票数 3
1
回答
云
函数:
如何
动态更改
云
Firestore
触发器
google-cloud-firestore
、
google-cloud-functions
我
的
应用
使用
Firestore
集合"users/{userId}/alarms/ 2019 / 10“,其中2019是当前年份,10是当前月份。我
使用
一个
Cloud
Firestore
触发器
,它在这个集合中有变化时被调用。我尝试了
使用
"firebase deploy --only
functions
“部署
的
以下代码。然后,我在
Firestore</e
浏览 8
提问于2019-10-07
得票数 1
回答已采纳
2
回答
如何
从防火墙获取
数据
到google
云
功能?
javascript
、
firebase
、
flutter
、
google-cloud-firestore
、
google-cloud-functions
我
的
index.js文件:const admin = require('firebase-admin'); const
firestore
= new
Firestore
();
浏览 2
提问于2021-02-02
得票数 1
回答已采纳
2
回答
多个以相同文本开头
的
集合
的
云
函数
触发器
firebase
、
google-cloud-firestore
、
google-cloud-functions
我知道可以向特定集合
的
所有
文档
添加
触发器
,比如
functions
.
firestore
.document('Subscriber**/{userID}').
浏览 2
提问于2020-03-05
得票数 1
1
回答
Firestore
access using
Cloud
Functions
事件
firebase
、
google-cloud-functions
、
google-cloud-firestore
我正在努力解决一些语法问题在我拥有的函数
中
哪种输出 DocumentSnapshot { _ref: DocumentReference{ _
firestore
: [Obj
浏览 0
提问于2017-11-11
得票数 2
1
回答
Firebase函数--
如何
调用另一个函数并返回对象
javascript
、
firebase
、
google-cloud-firestore
、
google-cloud-functions
我从我
的
角度组件创建了一个可调用
的
函数。我
的
角分量调用createUser函数并成功地返回userRecord值。下面是我
的
两个
云
功能。如果createUserRecord
的
成功,我该怎么打电话给createUser export const createUser =
functi
浏览 0
提问于2019-04-25
得票数 5
回答已采纳
1
回答
火基问题“未明确(承诺) ReferenceError:出口未定义”
javascript
、
google-cloud-firestore
、
firebase-authentication
、
google-cloud-functions
、
vite
当用户注册我
的
应用程序时,我正在尝试创建一个新
的
文档
。下面的代码正在处理这个函数。/firebase"; const signUpForm =overlayP.classList.remove('hidden'
浏览 2
提问于2022-08-27
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
我们弃用 Firebase了
Spring Boot教程:构建微服务并部署至Google Cloud
Firebase模块的使用方法
OpenFunction:新一代开源函数计算平台
带你第一时间体验微信小程序云开发功能
热门
标签
更多标签
云服务器
ICP备案
实时音视频
对象存储
云直播
活动推荐
运营活动
广告
关闭
领券