Key Value pairs and how they are listed in the Database

@Prasad_Saya ,

Thanks… My question is what does this look like in Atlas? If I were to look at the record in atlas, would it be nested arrays?

[ color [red [size [qty] ] ] ]

or would this be nested objects?

I am trying to see what this would look like at the record level.

The issue I run into is if I create an array I can’t rename the array index… If I make it an object, I can. So this would have to be stored as an object right?

In atlas, I can make an array for colour, but then I only have 0, 1, 2, etc to place the values in… If I make 0 another array, I cannot name that nested array to size.

colour [
0: red ( if I use the string red, I cannot say it is another array. Or I don’t know how to stipulate that it is an array “red” or the array “colour”.

Am I explaining this right?