【发布时间】:2021-06-22 20:24:10
【问题描述】:
我对 Firebase 有疑问。 我还在网站和 Kotlin 应用中使用 Firestore。
在网站上,我可以通过以下方式将查询结果保存到变体中:
const addStudentManu = async($this) => {
const userId = await db.collection('users').where('neptun','==',ASD123).get();
const getUserId = userId.docs.map(doc=>doc.id);
}
我如何在 kotlin 中做到这一点?
【问题讨论】:
标签: firebase kotlin google-cloud-firestore