Open Spiruel opened 6 years ago
This is an example using Symfony 3 Framework. Symfony 3 Query for family tree But it's still one root family, because I just need one root for each family tree.
And my simple family tree database is like this.
Hope it help.
Does anybody have pseudo code / code for the generation of the data? Something like a recursive function to output JSON from an input of family information. Thanks