腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
0
回答
获取
Firebase
中
特定
元素
的
唯一
id
javascript
、
firebase
、
firebase-realtime-database
我
的
Firebase
数据库结构如下: "userProfile" : { "email" : "janecliv7hQ4FsWKTtYksPDXcdDafdi2" : { "name" : "John Doe"
浏览 3
提问于2016-12-23
得票数 1
回答已采纳
1
回答
如何从火场
中
获取
单一
元素
reactjs
、
firebase
、
firebase-realtime-database
我从
firebase
数据库
获取
所有数据,并将其显示在列表
中
。现在我想要做
的
是,当我点击一个
特定
的
元素
时,这个
特定
元素
的
所有数据都只能
获取
。我使用
的
是Next.js/react.js,这是一个管理防火墙连接
的
基本文件。import { getFirestore } from "@
firebase
/firestore&q
浏览 1
提问于2022-04-04
得票数 0
回答已采纳
2
回答
如何从
firebase
数据库
中
通过angularjs
获取
数组
元素
的
唯一
id
javascript
、
angularjs
、
firebase
、
angularfire
getIdController', ['$scope', '$firebaseArray', function($scope, $firebaseArray){ } 解释: 好
的
,在
firebase
中
,我有用户表,它有3个对象,每个对象都有
唯一
的
id
。目前,我正试图在html
中
单击Get
id
按钮时提
浏览 3
提问于2016-02-05
得票数 0
回答已采纳
1
回答
如何更新火场
中
的
单个
元素
reactjs
、
firebase
、
google-cloud-firestore
我从
firebase
数据库
获取
所有数据,并将其显示在列表
中
。然后我想要
的
是更新这个
特定
的
元素
。我怎么能更新它// Import the functions you need from the SDKs you need import { initializeApp } from "
firebase
const app = in
浏览 3
提问于2022-04-04
得票数 0
回答已采纳
1
回答
防火墙Web检索数据
javascript
、
json
、
firebase
、
firebase-realtime-database
我在
firebase
中有以下db结构我试图
获取
属于
特定
用户
id
(uid)
的
数据。文档有以下示例: var username= snapshot.val().username;}); 但是,如何在不知道每个对
浏览 3
提问于2016-08-22
得票数 5
回答已采纳
1
回答
使用Ionic
获取
Firebase
中
唯一
项
Id
的
引用路径
javascript
、
firebase
、
firebase-realtime-database
、
angularfire2
我做了一个使用UID向
firebase
发送数据
的
函数。数据以UID和项目
ID
出现在
firebase
中
。当用户登录时,我能够检索数据,但我对如何
获取
具有
唯一
自动生成
ID
的
项目的
特定
节点子节点
的
路径感到困惑。this.reference =
firebase
.database().ref('profiles/'+this.afAuth.auth.curre
浏览 27
提问于2020-04-19
得票数 0
2
回答
如何在angularJS
中
从$firebaseArray
获取
值和$
id
javascript
、
angularjs
、
firebase
、
firebase-realtime-database
嗨,我不是
firebase
的
专家,刚刚开始工作。我找了很多地方,都没找到解决问题
的
办法。我想要检索
特定
配置文件
的
数据,以及
firebase
和生成
的
唯一
$
id
。$scope.login = function(users)
firebase
.auth().signInWithEmailAndPassword(users.email, users.password) .then(function(resul
浏览 0
提问于2016-12-06
得票数 1
1
回答
如何在dom repeat
中
给
firebase
-query一个
唯一
的
id
,这样我就可以在每次
获取
数据时清除它
的
路径?
javascript
、
polymer-2.x
我有以下聚合物代码 <
firebase
-query
id
="query" path="temp/check
浏览 3
提问于2017-07-28
得票数 1
2
回答
如何为使用AngularFire共享
的
Firebase
路径创建
唯一
的
URL?
angularjs
、
firebase
、
angularfire
、
unique-key
我已经知道如何在
firebase
中
返回key(),这样就不会有问题了。我
的
基本数据应该是这样
的
---item:"item2" 对不起,我没有给你任何密码。我了解
firebase
(Angular
浏览 5
提问于2015-05-17
得票数 1
回答已采纳
4
回答
怎样才能纯粹根据
id
属性JavaScript
中
的
字符数在页面上找到HTML
元素
?
javascript
、
html
、
dom
、
xpath
、
attributes
我想使用JavaScript根据其
id
属性
中
的
字符数来查找
特定
的
HTML
元素
。例如,如果我想找到
的
元素
如下所示:它
的
id
属性中有8个字符,我如何找到这个
元素
。我想象
的
一些基本伪代码如下所示: [e] = document.GetElement
浏览 3
提问于2020-05-11
得票数 1
回答已采纳
2
回答
使用$add使用AngularFire从刚刚添加
的
元素
中
获取
密钥
firebase
、
angularfire
我在
Firebase
中使用AngularFire,并希望获得我刚才通过$add()方法添加
的
元素
的
键。有一种使用"vanilla“
Firebase
实现此操作
的
文档方法,请参见”
获取
push()生成
的
唯一
ID
“。不过,它似乎不适用于AngularFire
的
相当于$
id
的
产品。var ref = $
firebase
(firebaseData
浏览 4
提问于2015-01-06
得票数 2
回答已采纳
4
回答
如何避免在防火墙
中
覆盖数据
android
、
firebase
、
firebase-realtime-database
这是我在
Firebase
中
添加记录
的
代码。= (EditText) findViewById(R.
id
.nameTxt); String location = locInput.getText().toString我将输入这些字段,当我单击ADD,即sendMessa
浏览 5
提问于2016-05-31
得票数 2
回答已采纳
1
回答
如何使用AngularJS获得我刚刚添加到
Firebase
的
新列表项
的
UID?
angularjs
、
firebase
、
angularfire
我正在将新
的
子
元素
添加到
Firebase
列表
中
,并且会自动创建
唯一
的
ID
。我需要一些方法来
获取
创建
的
ID
,这样我就可以立即将URL位置路径更改为包含该
ID
的
路由。modified: newDate, }); $location.path("/test
浏览 2
提问于2014-02-24
得票数 0
回答已采纳
3
回答
如何使deviceId、deviceToken、deviceType进入react本地/博览会
react-native
、
expo
我想使用deviceId、deviceToken、deviceType作为登录目的,所以我如何获得它。有人能帮帮我吗。
浏览 0
提问于2019-08-16
得票数 3
回答已采纳
8
回答
使用
Firebase
按名称属性
获取
用户
firebase
、
firebase-realtime-database
我正在尝试创建一个应用程序,在其中我可以
获取
/设置
特定
用户帐户
中
的
数据,我被
Firebase
所吸引。我遇到
的
问题是,当我
的
结构看起来像这样时,我不知道如何针对
特定
的
用户数据:online-b-cards - InnROTBVv6FznK81k3mHello world this is a text"
浏览 0
提问于2013-02-20
得票数 131
回答已采纳
2
回答
从android
中
的
firebase
实时数据库
获取
数据
android
、
json
、
firebase
、
firebase-realtime-database
、
pojo
我正在尝试从android
中
的
firebase
实时数据库
中
获取
数据。我创建了一个json数据文件,并在
firebase
数据库中导入了json文件。现在,如何从数组
中
获取
所有json对象?我找了一段时间了,但不明白什么是参考资料&孩子。
浏览 3
提问于2017-08-23
得票数 0
回答已采纳
1
回答
通过令牌
获取
firebase
数据库数据
react-native
我已经将一些数据推送到
firebase
数据库
中
,每个数据都有一个
唯一
的
键。我可以
获取
密钥,但如何才能仅
获取
特定
密钥下
的
数据,例如 let databaseRef =
firebase
.database().ref('Names') const key = 'M4s4jtJza2K1f4P5Q' 如何在key下
获取
数据
浏览 12
提问于2020-04-15
得票数 0
回答已采纳
1
回答
获取
Firebase
中
唯一
的
推流
ID
android
、
firebase
、
push
、
unique
Isuue:在每次上传时,对象都存储在
唯一
的
推送
id
下。这是可变
的
,在接收端是未知
的
。所以完整
的
路径是未知
的
。在给定
的
部分代码
中
:
Firebase
messagesRef=mRootRef.child(postId); 我
浏览 0
提问于2016-04-10
得票数 1
1
回答
获取
JSON跳过
Firebase
中
的
唯一
id
firebase
、
react-native
、
firebase-realtime-database
我是
Firebase
的
新手。当我从
Firebase
检索数据时,我发现
唯一
的
id
避免了我访问里面的数据。"corp" : "McDonald", "timestamp" : "2018-04-19 21-11-51"}&q
浏览 0
提问于2018-04-19
得票数 0
点击加载更多
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
腾讯会议
活动推荐
运营活动
广告
关闭
领券