[Dbix-class] doing a search
Octavian Rasnita
orasnita at gmail.com
Sat Jan 20 12:56:57 GMT 2007
From: "Jess Robinson" <castaway at desert-island.demon.co.uk>
> 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
More information about the Dbix-class
mailing list