我想知道如何使用AngularFire正确查询非规范化数据。
我已阅读: https : //www.firebase.com/blog/2013-04-12-denormalizing-is-normal.html和AngularFire-如何查询非规范化数据?
从上面的链接,给出以下示例。
{
links: {
link1: {
title: "Example",
href: "http://example.org",
submitted: "user1",
comments: {
comment1: true
}
}
}
}
如何使用AngularFire保存comment1:true
? 以及如何使用AngularFire进行查询?