[Dbix-class] adding conditions

Bogdan Lucaciu bogdan at wiz.ro
Tue Jan 9 19:18:47 GMT 2007


On Tuesday 09 January 2007 20:41, Octavian Rasnita wrote:
> $rs->{cond}->{id_user} = $id_user;

I don't think accessing internal data that is not advertised by the API is a 
good ideea, unless you need some weird hacks.

the resultset manual is very nice, I suggest you take 30 minutes and read it 
completely, you don't want to ignore the best features just because you never 
knew about them.

http://search.cpan.org/perldoc?DBIx::Class::ResultSet

-- 
Bogdan Lucaciu
http://www.wiz.ro



More information about the Dbix-class mailing list