当前位置:Gxlcms >
数据库问题 >
[AngularFire 2] Object Observables - How to Read Objects from a Firebase Database?
[AngularFire 2] Object Observables - How to Read Objects from a Firebase Database?
时间:2021-07-01 10:21:17
帮助过:4人阅读
course$: FirebaseObjectObservable<any> = af.database.
object(
‘courses/-KT0LsbuhHZGr5F4v7OV‘);
course$.subscribe((c)=>
{
console.log("c", JSON.stringify(c,
null,
2))
});
Github
[AngularFire 2] Object Observables - How to Read Objects from a Firebase Database?
标签: