Storing forests in tables.

2007-04-20 Thread Nathan Harmston
Hi, I ve recently been playing with storing trees in mysql using nested set, and I was wondering if anyone knows if this could be extended to forests (set of trees) to be stored in one table? Many Thanks in advance, Nathan -- MySQL General Mailing List For list archives: http://lists.mysql.com

Re: Storing forests in tables.

2007-04-20 Thread Peter Brawley
Nathan, >I ve recently been playing with storing trees in mysql using nested >set, and I was wondering if anyone knows if this could be extended to >forests (set of trees) to be stored in one table? Dead simple, add a treeID smallint column to the table that holds the nested sets, and add ... W