firebase - 在 retool 如何使用 retool 连接和上传 Firebase 中的数据
问题描述
在 retool 如何使用 retool 连接和上传 firebase 中的数据,如果有人帮助我的话。
<script>
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "AIzaSyC0W4G9vFxKV99kYDPvw_qgoMOF6Yj720g",
authDomain: "test-b0e28.firebaseapp.com",
databaseURL: "https://test-b0e28-default-rtdb.firebaseio.com",
projectId: "test-b0e28",
storageBucket: "test-b0e28.appspot.com",
messagingSenderId: "729064532529",
appId: "1:729064532529:web:ab1263c616218ebb990310",
measurementId: "G-Y64XEPGK2V"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
解决方案
Retool 与 Firebase 具有原生集成,因此您可以使用他们的 GUI 进行查询,而不是直接在 SDK 中编写。以下是查询 Firestore 的示例:
要连接数据源,请转到yoursubdomain.retool.com/resources/new
并找到 Firebase。
推荐阅读
- sql - 每年年底统计会员人数
- netsuite - 修改打印/标签模板
- twitter - 在 twitter.com 的用户脚本中使用 fetch
- random - LSL - 向数据库查询添加随机时间元素以防止泛滥
- javascript - How to implement .includes in JavaScript
- colorbar - 在python中,将颜色条添加到具有多个图像的图形中
- python - 对火炬张量执行“假”量化
- visual-studio-code - 使用 1 个键盘快捷键切换到预览和从预览切换?
- unity3d - 如何将多人游戏添加到我的新统一项目中?
- javascript - 如何动态更新 Swiper 以响应新的 Slide Array?