From: "Jess Robinson" <[EMAIL PROTECTED]>

Instead of changing the relationships, you can also still get at the original data, by using get_column. In your example beore, $role->get_column('id_role') should output what you wanted. (Or

Oh yes, finally I've done it this way, because I have changed some names in the table classes, and the app stopped working and I didn't know how to fix it.

$role->id_role->id)

Jess

Thanks. I didn't know about this way.

Octavian


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

Reply via email to