parent = { child0: { data1:'foo', data2: 'bar' }, child1: { data1:'foo', data2: 'bar' }, child2: { data1:'foo', data2: 'bar' } }
At first, I thought I set the parent:child key, since I will need this data separately from his siblings. However, in some cases, I will need to return all the data inside the parent.
Should I just put the whole object in the parent key?
Are there any drawbacks in this case, if many sets and sets can be for only one of them?
Is there a way to invoke all parent data using the parent:child schema?
Thanks!
fancy source share