Interestingly enough, i was recommended DBIx::Class::Tree by Matt Trout. Even more interesting is it seems to combine both shmem and clinton's ideas using a tree and a separate table for relationships as clinton mentioned.
I'm not too familiar with trees however, or this module for that matter. Any suggestions on how I might go about utiliziting it? There's some code in the docs that looks like this:
Seems simple enough, but I'm sure I'd have to do some fanaggling (sp?) to get it to suit my purpose. Ideas?#!/usr/bin/perl use My::Employee; my $employee = My::Employee->create({ name=>'Matt S. Trout' }); my $rs = $employee->children(); my @siblings = $employee->children(); my $parent = $employee->parent(); $employee->parent( 7 );
In reply to Re: message board thread quandary
by stonecolddevin
in thread message board thread quandary
by stonecolddevin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |