I have previously read that POD documentation on my computer, but I couldn't find anything about adding more conditions after the resultset was already defined.

Thanks.

Octavian

----- Original Message ----- From: "Bogdan Lucaciu" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, January 09, 2007 9:18 PM
Subject: Re: [Dbix-class] adding conditions


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

_______________________________________________
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]/


_______________________________________________
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