【发布时间】:2016-10-19 07:21:52
【问题描述】:
是否可以检索刚刚创建的对象的 ID?
var aRef = firebase.database().ref().child(aUrl)
.push ({
name: name
lastName: lastName
}); // Retrieve the ID from this object in the same sentence
这是为了防止大量此类对象被创建并且检索最后创建的对象不是一个好主意。
【问题讨论】:
标签: angular firebase firebase-realtime-database