Hello there,

Would it be possible to use Tree component to store and manage in one db 
table multiple trees (multiple root nodes)? For example, by adding a 
special key that would identify records that belong to one tree, or 
another, for example:

id | parent_id | tree_id
---+-----------+--------
1  | 0         | 1
2  | 1         | 1
3  | 1         | 1
4  | 3         | 1
5  | 0         | 2
6  | 5         | 2
7  | 5         | 2
8  | 6         | 2
9  | 8         | 2
10 | 1         | 1
---+-----------+--------

I'd be grateful for any help or info.

Cheers,
Piotrek
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to