【发布时间】:2016-08-22 22:57:53
【问题描述】:
af.database.object('item').set({ name: newName });
我可以在 AngularFire2 中使用此方法将值保存在已知节点中。
我想知道每次这样保存在一个唯一的节点中。
在 Swift 中有这样的东西:
node.childByAutoId().setValue([key: value]);
【问题讨论】:
标签: angular firebase firebase-realtime-database angularfire2