Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
Firestore 查询 .toUpperCase() 不起作用
我正在尝试创建一个网站 使用户能够搜索 Firebase Firestore 中的文档集合 该过程涉及将用户的输入保存为状态 useState 并利用 useEffect 挂钩来查询 Firebase 数据库 但是 我遇到了一个问题 即使用
javascript
ReactJS
firebase
googlecloudfirestore
reactHooks
Cloud Firestore:强制执行唯一的用户名
问题 我已经多次看到这个问题 也在 Firebase 实时数据库的上下文中 但我还没有看到令人信服的答案 问题陈述相当简单 经过身份验证的 用户如何选择尚未被占用的用户名 首先 why 用户通过身份验证后 拥有唯一的用户ID 然而 许多网络
firebase
googlecloudfirestore
如何使用完成处理程序等待 firestore 请求的完成
我正在慢慢地了解完成处理程序 如果我有一个 firestore 查询 如果我想使用完成处理程序 则有点向后工作 当 firestore 查询完成时 我必须使用completion 但它的设置功能仍然让我感到困惑 因此 如果这是一个将闭包作为
swift
googlecloudfirestore
Angular firestore 查询 firestore 文档
我有以下查询 selectedUser AngularFirestoreDocument
angular
googlecloudfirestore
angularfire2
Flutter Firestore - 如何从文档字段中的文档引用获取数据?
我正在构建一个具有不同问题类型的自学应用程序 现在 其中一个问题有一个包含文档参考列表的字段 在 Flutter 中 我有以下代码 Query
flutter
firebase
googlecloudplatform
googlecloudfirestore
使用规则保护 Firestore 数据库。检查身份验证。够了吗?
我是 Firebase 新手 正在尝试了解数据库规则 我正在使用 Firestore 我有一个数据库 基本上需要所有用户读取 也需要写入 所有用户都可以查看数据库中的文档 并通过某些操作更改某些字段 在某些情况下 他们会删除某些旧的过期文档
firebase
googlecloudfirestore
firebaseauthentication
firebasesecurity
带有空格的 Firestore 文档字段名称在 Python 中与 .where() 一起使用时会返回错误
使用 Firebase 的 Cloud Firestore 在 Python 3 7 中编写一个非常简单的程序 在程序中 我使用 where 下拉集合的一部分 然后使用 for 循环对其进行迭代 当任何带有空格的字段名称被传递到 where
python3x
firebase
googlecloudfirestore
Flutter - 构建失败并出现异常
当我启动我的应用程序时 我收到此错误消息 自上次运行以来我没有进行任何更改 当时一切都很好 有人知道如何解决这个问题吗 谢谢 FAILURE Build failed with an exception 什么地方出了错 无法确定任务 app
flutter
googlecloudfirestore
如何限制firebase中的字符串长度
我在 firebase 数据库中工作 我需要限制字符串字段的长度 我怎么做 到该字段的路径是 Col1 doc1 描述 也就是说 从集合 col1 开始 然后进入 doc1 然后对于 doc1 下的所有集合以及该集合下的所有文档 描述字段需
string
firebase
googlecloudfirestore
firestore安全规则中更新字段的数量
我正在从客户端进行批量操作以仅更新一个字段 但在进行批量操作和安全规则测试时 观察到多个字段正在被更新 我用这个检查了request resource data size gt 1 and request resource data key
firebase
googlecloudfirestore
firebasesecurity
Cloud Firestore 安全规则 - 文档中的单个受保护字段
我想要一个名为的只读属性suspendedProfile in a user具有当前登录用户的读 写访问权限的所有其他属性的文档 有没有办法通过简单的安全规则来做到这一点 我想到了2个解决方案 禁止修改属性的写入 例如allow write
firebase
firebasesecurity
googlecloudfirestore
如何从 firebase 函数访问 firestore
我已经启动了一个无服务器 Web 应用程序的 Firebase 项目 我可以从客户端访问 Firestore 数据库 从无服务器端 我编写了一个在 http 请求上调用的函数 该函数尝试通过 Firestore 对象访问数据库 但它失败了
firebase
googlecloudfirestore
googlecloudfunctions
如何修复 [错误:flutter/lib/ui/ui_dart_state.cc(166)] 未处理的异常:NoSuchMethodError:在 null 上调用方法 '<='。错误?
我收到此错误 但由于昨天相同的代码有效 所以我不知道如何修复它 这是一个测试应用程序 使用谷歌地图和 firebase firestore 来保存和查询地图上的标记 我想这可能和我安装的flutter有关系 所以我尝试使用稳定版和测试版 但
googlemaps
flutter
googlecloudfirestore
如何仅从 Firestore 获取最新更新的数据?
在 Firestore 上发现任何更改时始终获取整个文档 如何只获取最近更新的数据 这是我的数据 我需要在第一次加载时在聊天中按对象顺序 例如 2018 09 17 30 40 msg和sendby 并且如果数据更新则仅获取新的msg和se
Java
Android
firebase
googlecloudfirestore
从 Firestore 获取值并使用异步将输出存储为全局
我正在尝试获取 firestore 数据 然后将其存储在变量中 async function getchildContent Parent Message let count 0 var db firebase firestore var
javascript
Asynchronous
googlecloudfirestore
asyncawait
ListView 和快照 - 错误 - 错误状态:DocumentSnapshotPlatform 中不存在字段[重复]
这个问题在这里已经有答案了 我对快照和 ListView 有一个小问题 到目前为止 它运行得很好 但自从我更新了 flutter 和 Dart 后 我 收到了一个错误 构建 StreamBuilder gt 时抛出以下 StateError
firebase
flutter
ListView
googlecloudfirestore
哪种反应钩子与 firestore onsnapshot 一起使用?
我在我的 React Native 应用程序中使用了大量的 Firestore 快照 我也在使用 React hooks 代码看起来像这样 useEffect gt someFirestoreAPICall onSnapshot snaps
导入 firebase/app 以前可以工作,现在我收到错误(firestore 不是函数)?
我正在使用 React 和 Redux 我使用如下所示的 import 导入了 firebase import as firebase from firebase app import firebase firestore 一切正常 然后我
firebase
import
googlecloudfirestore
如何在 Firebase Firestore 中使用多个 orderBy 查询进行排序?
如果我想根据这种情况对文档进行排序 选择有库存的产品 通过检查名为 count 的字段 指定产品的总件数 根据另一个称为 价格 的字段对元素进行排序 看起来很简单 只需使用这段代码 DBRef collection col where co
javascript
firebase
googlecloudfirestore
如何检索单个 Firestore 文档的 Id?
这是我的代码 import Component OnInit from angular core import AngularFirestore AngularFirestoreCollection AngularFirestoreDocu
angularfire2
googlecloudfirestore
1
2
3
4
5
6
...46
»