in reply to Re^2: Class::DBI and a self-referencing many-to-many
in thread Class::DBI and a self-referencing many-to-many
You're right that my parent_id column idea would mean only a single parent. I was thinking of a tree in computer science terms, where a node can only have one parent. What you want is probably a directed graph rather than a tree.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Class::DBI and a self-referencing many-to-many
by jgallagher (Pilgrim) on Sep 14, 2005 at 21:20 UTC | |
by perrin (Chancellor) on Sep 14, 2005 at 21:28 UTC |