如何在Android Kotlin中的字符串替换数据库调用(firestore)到文档

我正在尝试构建两个Autotextview,应该传递给FileBase,以查找根据DocumentID的文件,以显示该文档的3个值。 我的问题是我无法将第一部分(autoTextView)的DocumentID连接到第二部分(Firebase查询)。两个... 阅读全文

android kotlin google-cloud-firestore

我的GAE本地服务器如何连接到Firebase仿真器

我希望在技术上了解我运行Go Server go run main.go的情况 我能够连接到我当地的FireStore模拟器(假设仿真器正在运行) 究竟是如何建立联系的? 询问,因为我一直认为理所当然,昨天没有宣称无法找到我的GAE凭据。 我跑了:gcl... 阅读全文

firebase go google-app-engine google-cloud-firestore

如何将日期转换为Firebase时间戳

如何将以下日期转换为Firebase时间戳格式?? 日期 22-May-2005 阅读全文

android firebase date google-cloud-firestore

如何从Kotlin的Firestore读取映射数据

我正在尝试从Firestore读取映射数据。我正在阅读数据,但我不知道如何到达地图中的其中一个键。 这是映射数据的. dbSaveAvailableTimes.addSnapshotListener { snapshot, e -> if (snapsh... 阅读全文

android firebase kotlin google-cloud-platform google-cloud-firestore

如何阻止Google FireStore API的Google Fireestore访问权限

我正在使用谷歌·弗雷斯特在本机模式中,使用"cloud.google.com/go/firestore" api在它内使用CRUD的数据。只要您知道项目ID并在服务器上使用FireStore API,就可以访问数据很广泛。我不想尝试规则,直到我弄清楚如何... 阅读全文

go google-cloud-platform google-cloud-firestore

如何使用Firestore在Android Studio (Java)中进行有条件查询

我正在尝试编写有条件的链式whereEqualTo()方法的查询。 我尝试做这样的事情; FirebaseFirestore db = FirebaseFirestore.getInstance(); CollectionReference colRef... 阅读全文

java android firebase google-cloud-platform google-cloud-firestore

如何根据不同的凭据在同一应用程序上显示2个接口

我正在Android Studio中制作一个应用程序,该应用将由大学的老师和学生使用。 我如何做到这一点,以便老师根据他们的凭证获得不同的界面? 我还没有尝试过任何尝试,但是我的想法是,它将首先阅读用户名,然后将用户重定向到各自的屏幕,因为凭据不同。 阅读全文

android firebase google-cloud-platform google-cloud-firestore firebase-authentication

如何通过将数据与ID获取到Python的Firestore来订购

如何通过Firestore订购使用Python中的ID数据? list(firestoreDb.collection(u'Messages').get()) 此代码正在获取所有数据。如何在Python中使用orderBy(),我找不到.get().ord... 阅读全文

python json firebase google-cloud-platform google-cloud-firestore

如何使用GO连接到non-default Firestore数据库

我看到有一个关于使用节点连接到non-default Firestore数据库的邮政。我想知道是否有人知道Firestore Go包中的相同功能? 我尝试了直接翻译,但这无效。也许该功能还没有更新包装? 阅读全文

go google-cloud-firestore