Move node in adjacency list

Posted by Industrial on Stack Overflow See other posts from Stack Overflow or by Industrial
Published on 2010-05-10T08:28:36Z Indexed on 2010/05/10 8:34 UTC
Read the original article Hit count: 462

Filed under:
|
|

Hi everyone,

I am working on an adjacency list with mySQL and can not (atleast by myself) do the thinking needed to make a decent enough query to be able to move a set of nodes (together with eventual children nodes) around.

The table has following columns:

 id     name     left     right

Thanks a lot!

© Stack Overflow or respective owner

Related posts about adjacency-list

Related posts about tree