【发布时间】:2020-01-03 08:48:54
【问题描述】:
this.studentObservable = this.studentDetailsService.readStudentDatabase( user.uid ) as Observable<StudentDetails> ;
this.studentObservable.subscribe( temp => {
this.student = temp as StudentDetails ;
});
我已从 firestore 检索数据集合。
而这个this.student 有一个名为eventId 的属性。我需要从 Firestore 中检索 eventId 的文档。如何在没有订阅的情况下做到这一点??
【问题讨论】:
-
你能在这里写更多代码吗?
标签: angular firebase google-cloud-firestore