腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
firebase
where
()
不
返回
文档
数据
?
javascript
、
firebase
、
react-native
、
google-cloud-firestore
我有用户的电子邮件,所以我尝试搜索
文档
,以找到电子邮件所在的
文档
,然后从中获取用户名。} firestore().collection('users').
where
当我尝试删除它,并调用doc查看打印的内容时,我得到了大量的
数据
转储: vc { "Qt": $t { "data&quo
浏览 17
提问于2020-11-09
得票数 0
回答已采纳
1
回答
如何在React中使用Firestore
数据
库进行用户筛选?
javascript
、
firebase
、
google-cloud-firestore
、
react-native-firebase
我希望筛选防火墙查询,以获取
不
包含特定值的所有
文档
。我用了@react-native-
firebase
const getUnreadDocs', ['7B6jaZngXeN7V4r3eRoDBdlcj6m2']) }; <em
浏览 9
提问于2022-04-28
得票数 0
回答已采纳
1
回答
我可以在
不
匹配字符串的情况下使用firestore中的
where
键吗
reactjs
、
firebase
、
google-cloud-firestore
我在
firebase
中有一些
文档
,比如:{name:'himel'}const [searchtext,setSearchText] = useState('')collectionRef.
where
('name', '==
浏览 0
提问于2021-04-02
得票数 0
2
回答
来自特定
文档
ID的
Firebase
/Firestore循环
javascript
、
firebase
、
google-cloud-platform
、
google-cloud-firestore
我从Firestore
数据
库获得一个集合,并将
文档
值添加到JS中的数组中: }); 假设我知道一个
文档
ID,可以从那个特定的
文档
ID获取集合
文档
吗?我不确定是否按日期订购了Firestor
浏览 7
提问于2022-07-18
得票数 0
回答已采纳
1
回答
数据
何时才能真正在消防局中传输?在
文档
快照中?或者直到调用了.data()或.get()?
firebase
、
google-cloud-firestore
具体来说,如果我打电话:for(let taskSS of tasks.docs) { ..我问的原因是,如果我有一个具
浏览 1
提问于2018-09-27
得票数 0
回答已采纳
1
回答
Firestore :查找未设置字段的
文档
firebase
、
google-cloud-firestore
在
Firebase
Firestore中,是否可以查询未设置特定字段的
文档
?我知道如果我知道不会做我想做的事,因为null是完全不同的。驱动程序中不接受undefined。使用orderBy不起作用,它甚至
不
返回
未设置字段的
文档
。 不需要将字段设置为null,就可以执行此查询吗?
浏览 0
提问于2018-03-06
得票数 2
回答已采纳
1
回答
时间戳字段上的查询防火墙
数据
库
firebase
、
google-cloud-firestore
希望查询现有集合中的
文档
。这些
文档
都有一个时间戳字段。var today = new Date(); db.collection("****").
where
('display', '==
浏览 0
提问于2018-11-28
得票数 15
1
回答
火基角度
数据
angularjs
、
firebase
、
angularfire
下面的代码是检查用户状态,然后
返回
应用程序的名字和其他信息。目前我不能访问firstname和其他从
firebase
数据
库
返回
的对象。有没有不同的方法可以使用,或者我在这里做了一些非法的事情?myApp.controller('StatusController', $location.pat
浏览 0
提问于2014-12-03
得票数 0
1
回答
如何将异步
数据
与防火墙查询结合使用?
javascript
、
reactjs
、
google-cloud-firestore
、
next.js
、
next-auth
我只想获取那些属于当前登录用户的文件,因为每个
文档
都有其创建者的电子邮件。我正在使用NextAuth进行身份验证。React from "react"import { useCollection } from "react-
firebase
-hooks/
firebase
" import { collection, orderBy, query,
where</em
浏览 6
提问于2022-12-01
得票数 0
1
回答
我正试图在消防局中查询时间戳。
javascript
、
firebase
、
google-cloud-firestore
Date_of_Appt:时间戳纳秒:0秒: 1577336400 } .firestore() .
where
("UserId", "==", user.uid) .get
浏览 1
提问于2019-12-14
得票数 0
回答已采纳
2
回答
在
firebase
firestore上的集合中搜索字段
javascript
、
firebase
、
google-cloud-firestore
我正在尝试使用电子邮件查询集合,并获取电子邮件id匹配的特定
文档
的
文档
id。我使用的代码是 checkUserExist = async (email) => { .collectionGroup('requestBeta').
where
("email", "==", email).get() if(!return d
浏览 16
提问于2020-09-10
得票数 1
回答已采纳
2
回答
如何在
不
指定
文档
ID的情况下更新
文档
中的
数据
?
firebase
、
flutter
、
dart
、
google-cloud-firestore
是否可以在
不
指定
文档
ID的情况下更新
文档
中的
数据
,
firebase
.firestore().collection("users") .
where
("name我认为,这是一个查询,不需要输入
文档
ID就可以减少
文档
搜索。
浏览 3
提问于2019-12-02
得票数 2
回答已采纳
1
回答
如何调试这个Firestore/React表达式?
reactjs
、
firebase
、
google-cloud-firestore
documentReference…… const getIt = () => { const item = []; const docRef =
firebase
浏览 11
提问于2021-04-30
得票数 0
回答已采纳
2
回答
使用Firestore和类型记录的动态
Where
条件
typescript
、
firebase
、
google-cloud-firestore
我正在尝试用修复
Firebase
和TypeScript来实现存储库模式。代码:import { ISearchCriteria } from '.firestore.DocumentData> { } for (
浏览 8
提问于2020-03-25
得票数 3
回答已采纳
1
回答
修复在多个
文档
ID中的位置
node.js
、
firebase
、
google-cloud-firestore
我从一个集合中获得了一个
文档
I数组,我试图用它来查询另一个集合。我的查询是这样的: .firestore() .doc(this.props.userID).get() const postIDs = snapshot.data().posts; .collect
浏览 2
提问于2020-08-08
得票数 1
回答已采纳
1
回答
从firestore获取最后10个
文档
javascript
、
node.js
、
firebase
、
google-cloud-firestore
我正在尝试获取在firestore上创建的最后十个
文档
。我尝试了所有的方法,例如:
firebase
.firestore() .
where
("createdAt", "<=", new Date().getTime()) .collection("posts") .orderBy("
浏览 7
提问于2020-11-28
得票数 0
回答已采纳
1
回答
Firestore make函数在打开应用程序时触发,然后在更改后触发
javascript
、
reactjs
、
firebase
、
react-native
、
google-cloud-firestore
我希望这个函数在我启动应用程序时触发,然后每次我的firestore
数据
发生变化时都会触发。export const getDuettsPlayer1 = (setDuetts) => { });我已经这样试过了: const getDuettsPlayer1 = (setDuetts)
浏览 12
提问于2021-05-16
得票数 2
回答已采纳
1
回答
:从不工作的
数据
库检索
文档
firebase
、
react-native
、
google-cloud-firestore
、
expo
我试图做的应该是世界上最简单的事情:从我的防火墙
数据
库中检索
文档
,但事实证明是不可能的。我用的是“反应本土化”和“世博会”。React component
firebase
.database().collection("users") .
where
("geohash", "<="
浏览 2
提问于2020-04-10
得票数 0
回答已采纳
1
回答
为什么persistenceEnabled: true会在我的查询中得到不正确的结果?
firebase
、
flutter
、
dart
、
google-cloud-firestore
当我查询集合时,我得到的是不正确的
文档
数。如果我按以下方式初始化
Firebase
..。); .
where
('itemId', whereIn: items) .
where
(&
浏览 11
提问于2022-04-03
得票数 2
回答已采纳
1
回答
异步/等待
不
工作,函数
返回
{"_U":0,"_V":0,"_W":null,"_X":null}
javascript
、
reactjs
、
react-native
、
asynchronous
、
async-await
问题是,我在函数中进行API调用,我也使用异步/等待函数来调用这个函数,但是函数仍然
返回
{"_U":0,"_V":0,"_W":null,"_X":null}。import {
firebase
} from '@react-native-
firebase
/firestore'; await
firebase
.
浏览 4
提问于2022-02-16
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Mongodb连接与查询
MangoDB
我们弃用 Firebase了
第八章 Http服务与数据库
未来会怎样构建Web应用程序?
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券