Hi Scenario is,
Im new to Firebase, I have Structure my Data on firebase using Indices for maintaining relationshi as described in below articles
https://www.firebase.com/docs/web/guide/structuring-data.htmlhttps://www.firebase.com/blog/2013-04-12-denormalizing-is-normal.htmlI just want to clear my retrieval concept on firebase.
as mention in above links
{
links: {
link1: {
title: "Example",
href: "
http://example.org",
submitted: "user1",
comments: {
comment1: true
}
}
}
}
when I access link1, response contains link1 data as well as comments: {comment1:true}. Instead of comment1 actual text, accessing link1 gives comment's ID i.e, comment1. its mean when I access link1, it gives me the Ids of comments belongs to that link. so I have to retrieve comments mannually requesting firebase again based on comments ids received in link1 response? Please clear my concept : )