var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: possible to move nodes in Nested Set Model?
i work with the Nested Set Model and my question is, does anybody know if it is possible to move nodes inside this Nested Set Model, and if it is possible, if there is an example.
thanks in advice
Yes. Joe Celko published an example in his SQL For Smarties book, and I think it might be in one of his online columns too.
i tried to find some example in the internet, but there isn't. i found lots of examples for convertig, inserting and deleting, but no example for moving.
but thanks for the advice, i will look out for the book.
Isn't a move just a shorthand for a delete and an insert?
you can delete and insert, but that would mean that u have to store the data somewhere. sure, i think there is a possibility to handle it that way, but finally i found another way to handle the movements.