Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
Firestore 将值添加到数组字段
我尝试使用 Firebase 云函数将聊天室的 id 添加到数组字段中的用户文档中 我似乎无法弄清楚写入数组字段类型的方法 这是我的云函数 exports updateMessages functions firestore documen
Firestore 查询具有多个值的循环
我正在尝试使用字符串中保存的数据检索多个 Firestore 文档 这个想法是 对于数组中的每个值 我将使用 Firestore 查询来检索与该查询匹配的文档并将其推送到另一个数组 我在实现此目标时遇到了一些问题 到目前为止我已经尝试过 e
javascript
firebase
googlecloudfirestore
googlecloudfunctions
如何获取 firestore 文档中的字段?
我正在开发一些与 Firestore 配合使用的云功能 我正在尝试获取特定文档的字段列表 例如 我有一个文档参考even data ref 但我不确定该文档是否包含我正在查看的字段 我想获取字段名称的列表 但我不知道该怎么做 我试图使用Ob
javascript
firebase
googlecloudfunctions
googlecloudfirestore
如何在 ESM 中导出以连字符命名的变量
CJS exports foo bar gt OK ESM exports foo bar gt NG export foo bar gt NG export foo bar gt NG export fooBar as foo bar g
javascript
nodejs
typescript
firebase
googlecloudfunctions
为什么仅针对 POST 请求,Firebase 上托管的 NextJs 应用会收到“502 Gateway”错误?
我开始使用 NextJs 框架构建 API 我希望将其托管在 Firebase 上 托管和功能 只要我只发送 GET 请求 一切就正常 当我发送 POST 请求时 我收到一个 502错误的网关 error 复制起来非常简单 您只需下载并部署
firebase
googlecloudfunctions
Nextjs
firebasehosting
如何从 Firebase Cloud Functions 删除日志
我只是在玩Cloud Functions on Firebase并部署了一些随机函数来测试它 现在我想删除所有logs on Firebase console但我找不到办法 有没有CLI命令来做到这一点 或者它会永远存在 或者它们会随着年龄
firebase
googlecloudfunctions
使用 JavaScript 获取 Firebase 中子项的 ChildrenCount
我已经这样做了一个小时了 我只是想获取下面数据库中子项 Success 中的子项数量 类似的 stackoverflow 问题的答案不起作用 我是 Javascript 编程新手 So far I have tried this var c
部署时使 Google Cloud Function 的 Firebase 缓存失效
我最近使用 Cloud Functions 和 Firebase Hosting 实现了 SSR 当 JS 包构建时 它会收到一个缓存突发后缀 main 1 js 在我的函数内部 我有以下代码段用于缓存云函数的结果 res set Cach
使用 Sharp 库的 Firebase 部署功能在 Google Cloud Build 中失败
从 Bitbucket Pipelines 迁移到 Google Cloud Build 后 Firebase 部署失败 该设置在 Bitbucket Pipelines 和本地都成功部署 除了下面的错误之外 没有给出进一步的解释 我对代码
nodejs
firebase
googlecloudfunctions
googlecloudbuild
Sharp
Firebase 云函数错误代码和错误消息在 Android 上始终为内部
我正在为我的应用程序开发一项功能 其中一个用户可以使用云功能向另一个用户发送通知 我的函数和通知按预期工作 但我无法以正确的方式处理错误 因为我的 Android 代码上总是出现 INTERNAL 错误 这是我的 Android 代码 pu
Java
Android
nodejs
firebase
googlecloudfunctions
我可以从 Firebase 云功能发送静默推送通知吗?
是否可以从 APNs iOS 发送静默远程通知Firebase云函数 https firebase google com docs functions 如果是这样 该怎么办 我想在应用程序不在前台时将数据发送到 iOS 应用程序实例 而用户
ios
firebase
firebasecloudmessaging
googlecloudfunctions
在 firestore get 查询中使用通配符
我想在 firebase 中创建一个云函数 每当用户第一次登录时就会触发该函数 该函数需要将特定用户身份验证中的 UID 添加到 firestore 中特定的现有文档中 问题是需要将 UID 添加到我不知道位置的文档中 我现在的代码并不能完
nodejs
firebase
googlecloudfirestore
googlecloudfunctions
无法将 Firebase 函数拆分到多个文件中
我正在使用 firebase 函数并达到数百个函数 现在很难用单个函数来管理它index js文件如大量示例所示 我尝试将该函数拆分为多个文件 例如 firebase json functions node modules index js
javascript
nodejs
firebase
googlecloudfunctions
使用 firebase 函数检查数据是否存在
我如何检查是否days使用 Firebase Cloud Function 存在节点 里面有伪代码index js if days exists do something outside of function body const fun
javascript
firebase
firebaserealtimedatabase
googlecloudfunctions
错误:功能未正确部署
功能部署有错误 要继续部署其他功能 例如数据库 请运行 firebase deploy except functions Error 功能未正确部署 尝试运行部署 debug 例如 firebase debug deploy 就我而言 该函
firebase
googlecloudfunctions
如何每天自动备份Firestore数据库
我想每天备份 Firestore 数据库 我的数据结构是这样的 usersCollection uid defaultCurrency USD name something dreamsCollection name image 我看过fi
firebase
googlecloudfirestore
googlecloudfunctions
在可调用 Firebase 函数中获取请求 URL
我有一项服务可以将 html 共享给多个客户端网站 我需要知道请求来自哪里的 URL 客户端将向其网站添加自定义脚本 该脚本将加载 Firebase SDK 并调用我的可调用 firebase 函数之一 exports testFuncti
nodejs
firebase
Express
googlecloudfunctions
如何在 us-central1 以外的网络区域使用 httpsCallable
我部署了一个云函数 如下所示 export const publishVersion functions region europe west2 https onCall async data context gt 然后在我的网络客户端中
firebase
googlecloudfunctions
谷歌云功能的内存分析器?
我正在运行 Google 云功能并出现内存不足错误 Error memory limit exceeded Function invocation was interrupted 然而 当我在本地分析它时 它使用的内存不超过 500 600
python
googlecloudplatform
memoryleaks
googlecloudfunctions
在 Google Cloud Function 或 AWS Lambda 上部署 Universal Angular
在尝试 Angular 2 时 我碰巧请参阅角度通用 https universal angular io quickstart 它是 Angular 2 应用程序的服务器端渲染 就像我们在 ReactJs 中一样 还有一份包含一个代码片段
angular
awslambda
googlecloudfunctions
serverlessframework
«
1 ...
5
6
7
8
9
10
11
...27
»