3 ms·
http://imgur.com/xnGYVgR http://imgur.com/xnGYVgR Finally got a working sort for an implementation of a closure table for a forum project. Horribly inefficient
by krapp 13y ago
http://imgur.com/xnGYVgR http://imgur.com/xnGYVgR
Finally got a working sort for an implementation of a closure table for a forum project. Horribly inefficient though.
Riveting, I know.
Also, this is a great idea.
- christiangenco 13y ago...wait, what?
- krapp 13y agoIt's a way of representing trees (like nested comments) in SQL: http://karwin.blogspot.com/2010/03/rendering-trees-with-closure-tables.html http://karwin.blogspot.com/2010/03/rendering-trees-with-clos... Unfortunately, while it works, it requires extra effort to sort the results properly.