腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
Firebase
云
函数
使用
不正确
的
值
更新
ref
javascript
、
firebase-realtime-database
、
google-cloud-functions
我不想向客户端返回任何内容,我只想用新值
更新
数据库。在客户机上,我有一个侦听器,它观察credit_counts属性,一旦
更新
发生,它就会在那里接收它,并通知所有用户这个特定用户有一个新
的
信用。snapshot.exists(),如果不存在,我
使用
admin.database().
ref
('/user_credits/{creditId}/{userId}').set({ dict });将节点添加到数据库中userId)").setValue(
浏览 26
提问于2020-11-07
得票数 0
回答已采纳
1
回答
使用
云
函数
和角度
更新
数据
angular
、
firebase
、
google-cloud-functions
我是
firebase
环境
的
新手。我想
使用
云
函数
和angular服务来
更新
firebase
中
的
数据。我可以
使用
云
函数
从
firebase
获取angular中
的
数据,如下所示return this.snapshot.val() }); }, function (errorObject)
浏览 3
提问于2018-04-20
得票数 0
1
回答
如何
使用
Cloud Functions for
firebase
更新
Firebase
实时数据库中
的
值
firebase
、
firebase-realtime-database
、
google-cloud-functions
我查看了
Firebase
的
文档,了解如何
使用
Cloud Functions for
firebase
更新
实时数据库中
的
值
,但无法理解。"first_name" : "Max1", "isVerified" : false} 我想
使用
数据库触发器
浏览 4
提问于2017-04-18
得票数 12
回答已采纳
1
回答
更新
集合中
的
防火墙
云
函数
错误
javascript
、
node.js
、
firebase
、
google-cloud-firestore
、
google-cloud-functions
我试图
使用
云
函数
,以便当在集合'RecruiterJobs‘中创建文档时,
云
函数
被触发并
更新
集合'CollegeCode’
的
文档中
的
值
,并且根据条件或者单个文档或集合
的
所有文档都要
更新
,下面是
云
函数
的
index.js部分 const functions = require('
firebase
-fun
浏览 3
提问于2020-06-08
得票数 0
回答已采纳
2
回答
每当一个
值
在
Firebase
数据库中发生变化时,
云
函数
更新
记录(value = value + newValue)
javascript
、
node.js
、
firebase
、
firebase-realtime-database
、
google-cloud-functions
我对
云
功能很陌生。 每当“驱动程序/{driverId}/历史记录/{rideId}/rating”中
的
值
被设置时触发。将totalRating (驱动程序/{driverId}/totalRating)值
更新
为oldTotalRatingValue + NewTotalRatingValue。= db.
r
浏览 6
提问于2021-01-29
得票数 0
回答已采纳
2
回答
云
修复-
云
函数
:TypeError: collectionRef.child不是一个
函数
firebase
、
google-cloud-firestore
、
google-cloud-functions
云
修复-
云
函数
:TypeError: collectionRef.child不是一个
函数
我正在
使用
Cloud
函数
来
更新
Cloud
的
父集合中
的
注释号,所以当注释添加时,
云
函数
可以自动
更新
注释号。
云
修复-
云
函数
:TypeError: collectionRef.child不是对象上
的
函数
(
浏览 0
提问于2018-05-14
得票数 3
2
回答
如何在特定
的
时间,例如10分钟后,
更新
firebase
数据库中
的
值
?
android
、
firebase
、
firebase-realtime-database
有一个与我
的
项目相关
的
Firebase
数据库。当值更改为2,然后在10分钟后,我希望相同
的
字段
更新
为1。该项目在android上。有什么办法吗?用于创建特定
的
时间间隔?
浏览 2
提问于2017-07-10
得票数 2
回答已采纳
1
回答
云
运行或Kubernetes上
的
Firebase
实时数据库触发器,而不是
云
函数
node.js
、
firebase
、
firebase-realtime-database
、
google-admin-sdk
、
google-cloud-run
基于,在
Firebase
数据库中添加/
更新
/删除文档时,可以通过以下方式创建
云
函数
以触发:但是,当我调用以下内容时,
使用
Node.js管理SDK: admin.database().
ref
("/messages/{pushId}/
浏览 0
提问于2021-09-24
得票数 0
回答已采纳
3
回答
未执行
的
火基功能
database
、
firebase
、
google-cloud-firestore
、
google-cloud-functions
import * as functions from '
firebase
-functions'; const admin = require('
firebase
-admin');console.log; .<e
浏览 0
提问于2019-02-01
得票数 2
回答已采纳
1
回答
Firebase
多路径
更新
只是覆盖假定
的
节点。
javascript
、
firebase
在下面的代码中,我试图
使用
一个
云
函数
进行多次
更新
,将我
的
一些字段设置为一个新
值
,但结果只是覆盖了每个节点。我不太明白这种行为,因为我只是需要一个简单
的
更新
。const functions = require('
firebase
-functions');admin.initializeApp(fu
浏览 0
提问于2017-07-02
得票数 1
回答已采纳
2
回答
在Firestore中管理createdAt时间戳
database
、
firebase
、
google-cloud-firestore
每天,我都会将来自外部零售商
的
产品导入数据库。 在此过程中,产品可以是新产品(将向数据库添加新文档),也可以是现有产品(数据库中将
更新
现有文档)。应该注意
的
是,我每天要进口大约1000万种产品,所以我不是,而不是,我在查询每个产品
的
数据库以检查它是否已经存在。我目前正在
使用
,这正是我所需要
的
,因为它创建了一个文档,如果它不存在或
更新
现有文档
的
特定字段。现在
的
问题是,如果字段将被
更新
,那么我如何实现createdAt时
浏览 0
提问于2018-08-02
得票数 5
回答已采纳
2
回答
更新
值
一旦在
云
函数
中写入完成
node.js
、
firebase
、
firebase-realtime-database
、
google-cloud-functions
、
firebase-admin
我正在尝试在写完成后(在
云
函数
中)
更新
一个
值
,但它只是不起作用(我确信这是一个愚蠢
的
简单问题)。代码如下:const admin = require('
firebase
-admin'); admin.
浏览 1
提问于2017-08-21
得票数 0
回答已采纳
1
回答
在实时数据库中搜索/获取对象
objective-c
、
firebase
、
firebase-realtime-database
、
nosql
、
google-cloud-functions
由于我是
Firebase
的
新手,所以我对如何
使用
Firebase
数据库几乎没有疑问,我无法从他们
的
文档中获得线索,您能帮我吗?我正在尝试创建一个
云
函数
(用作REST ),在该
函数
中,我可以搜索来自特定类别的所有宠物,例如“采用”。这有可能吗?我可以创造
更新
..。但我不认为我该怎么做这个搜索..。var
ref
=admin.database().
ref
(‘/.
ref
’);
浏览 0
提问于2018-06-20
得票数 1
回答已采纳
3
回答
如何
使用
Google
云
函数
从
Firebase
实时数据库中读取值?
node.js
、
firebase
、
firebase-realtime-database
、
google-cloud-functions
、
firebase-admin
我开始
使用
firebase
云
函数
了,但我在从数据库树中读取"Hello"条目时遇到了问题:我正在尝试从我
的
树中读取HANDLE/suj1/part1中
的
"Hello"
值
。我
使用
的
是一个
firebase
云
函数
,当我在"INTENT"中
的
数据库中
使用
IOS应用
浏览 64
提问于2018-05-21
得票数 -1
回答已采纳
1
回答
写入实时数据库
的
Firebase
用户身份验证触发器
javascript
、
firebase
、
firebase-realtime-database
、
google-cloud-functions
functions.auth.user() async (user) => {编辑:很抱歉没有给出细节。最初,“异步”关键字出现了一个问题,通过
更新
node.js引擎解决了这个问题。现在,我得到了各种错
浏览 0
提问于2018-11-14
得票数 0
1
回答
如何
使用
Google
函数
更新
数据库
值
node.js
、
firebase-realtime-database
、
google-cloud-functions
我想
使用
Google
云
函数
在数据库中更改一个
值
。 admin.initializeApp= functions.pubsub.schedule("every 10
浏览 1
提问于2021-04-18
得票数 0
回答已采纳
3
回答
多次调用
Firebase
的
云
函数
firebase
、
firebase-realtime-database
、
google-cloud-functions
我只是在尝试
Firebase
的
云
函数
,以便将我
的
firebase
-queue工作人员转移到
云
函数
上。我添加了一个简单
的
函数
,每当我在给定
的
ref
上创建一个新节点时,都会添加一个上次
更新
的
时间戳。(functions.config().
firebase
); exports.setLastUpdatedTimestamp = fu
浏览 20
提问于2017-03-16
得票数 10
回答已采纳
1
回答
云
函数
- Cant看到我
的
函数
被部署到
firebase
控制台
javascript
、
firebase
、
google-cloud-functions
我刚开始
使用
Firebase
函数
,目前我很喜欢它们!但我有个小问题我有一些问题。按照实时数据库节点js
的
读和写指南,我现在
的
目标是从数据库中读取一个
值
,我正在尝试与javascript语法联系,以便
使用
这个很棒
的
工具。 //Creat
浏览 1
提问于2018-10-03
得票数 1
回答已采纳
1
回答
如何从
云
函数
中引用
Firebase
的
实时数据库?
node.js
、
firebase
、
firebase-realtime-database
、
google-cloud-functions
在
Firebase
函数
中,我试图从实时数据库中检索数据,并对其进行
更新
。这就是我遇到麻烦
的
地方。,在
firebase
云
控制台日志中,将看到以下错误:我尝试过以下列每一种方式引用数据库,所有这些方法都失败了: at dbRef.once.then 最后,我可以确认${
浏览 1
提问于2019-11-16
得票数 0
回答已采纳
1
回答
Ionic3 Angularfire收听消防局
的
更改
angular
、
ionic3
、
google-cloud-firestore
、
google-cloud-functions
在
firebase
云
功能成功地
更新
了文档之后,如何侦听事件?因为在
函数
运行时会有几秒钟
的
延迟。当
函数
成功地
更新
记录时,我想实现一个加载屏幕并关闭它。示例: MyApp不知道
firebase
<e
浏览 0
提问于2018-09-13
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
第八章 Http服务与数据库
【一文看懂】React中usestate与useRef的区别与联系
万花筒职业技能-EXCEL的INDIRECT函数用法介绍
Firebase模块的使用方法
Excel中INDIRECT函数用法介绍
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券