I am porting an application from Class::DBI to DBIx::Class and need help. I have a table T with a primary key tid and another table ChildT that relates a row of T to multiple (child) rows of T itself. How can I setup the relations between T and ChildT so that I can find all children of an instance of T. Here are the stripped down versions of these two tables:
T: (id, name);
ChildT: (rowid, tid, childid)
tid and childid both reference the id column of T.
Thanks!