📜  async await with firebase - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:33.840000             🧑  作者: Mango

代码示例1
const eventref = this.db.ref('cats/whiskers');
const snapshot = await eventref.once('value');
const value = snapshot.val();