I am looking for a Django tree library and doing my best to avoid nested sets (this is a nightmare to maintain).
The ends of the adjacency list model have always been unable to infer descendants without resorting to a few queries. The WITH clause in Postgres seems like a solid solution to this problem.
Has anyone seen any performance reports regarding WITH vs. Nested set? I suppose the Nested suite will still be faster, but as long as they are in the same complexity class, I could catch a 2x performance mismatch.
I'm interested in Django-Treebeard. Does anyone know if they made a WITH clause at startup in Postgres?
Has anyone here made the transition from nested sets in the light of the WITH clause?
Koobz source share