Hi *,

can I do something like this:

package MySchema::Table;

# ...

__PACKAGE__->has_many( 'relationname' => ... );

---

use MySchema::Table;

my @relations = MySchema::Table->get_relations; # 'relationname'



- Renée


-- 

Perl-Magazin: http://perl-magazin.de
Perl-Nachrichten: http://perl-nachrichten.de

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to