On 9 Jan 2007, at 21:11, Octavian Rasnita wrote:

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.

->search in scalar context or ->search_rs anywhere returns a resultset, as documented.

So does ->search_related and ->page and ->slice and ...

Chaining resultset operations together is the single biggest win in the DBIx::Class API (and I can't even take full credit for it, it sort of fell out naturally when I got the code cleanly factored :)

--
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for Catalyst, DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for details. + Help us build a better perl ORM: http://dbix- class.shadowcatsystems.co.uk/ +



_______________________________________________
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