Good afternoon, On 14/05/11 at 1:40 PM +0600, [email protected] wrote:
>My question is: how can I organize my schema-library to get user and >his role with one step? To get $user->user_name & $user->role_name? I think you're looking for many_to_many joins: http://search.cpan.org/perldoc?DBIx::Class::Relationship#many_to_many Charlie -- Ꮚ Charlie Garrison ♊ <[email protected]> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org 〠 http://www.ietf.org/rfc/rfc1855.txt _______________________________________________ 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]
