Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9076

Re: Creating a parent child relationship

$
0
0

Hello Atanu,

 

Thanks for your answer.

 

But my childentity can also have children.

 

So how do I create this relationship?

 

Establishing a parent to child 1:N would mean 1 parent with have N children.

 

E.g :

root:{

   name: "root",

   description: "root description",

    child: {

               name: "item1",

              description: "item1 description",

               child: {

                           name: "subitem1-1",

                           description: "subitem1-1 description",

                           child: {

                           name: "subsubitem1-1-1",

                           description: "subsubitem1-1-1 description",

                           }

                        }

             }

   }

 

Thanks & Regards,

Sumant


Viewing all articles
Browse latest Browse all 9076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>