Hi all,
I'm a newbie in DBIx::Class and try to join severall tables. For example:

users {
    id_user,
    user_name
};
roles {
    id_role,
    role_name
};
user_role {
    id_user,
    id_role
};

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?

Thanx!

_______________________________________________
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