|
|
|
|
|
by gg2222
1855 days ago
|
|
I'm wondering ... so when a user requests a page which will have a full hierarchy of blocks, how are the db queries done. Do you first query the root to see it's content blocks, then make additional queries to load the root's children block, then make additional queries to get those blocks children blocks (ie. recursively) until there are no more children? Does that result in too many database queries? Or do you have other ways to optimize it? |
|
[1] https://en.wikipedia.org/wiki/Hierarchical_and_recursive_que...