[Dbix-class] adding conditions

Matt S Trout dbix-class at trout.me.uk
Thu Jan 11 18:46:03 GMT 2007


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/ +





More information about the Dbix-class mailing list