[Dbix-class] Searching based on a Result Class Method

Peter Rabbitson rabbit+dbic at rabbit.us
Tue Apr 6 12:22:54 GMT 2010


Hetényi Csaba wrote:
> Thank You Rob!
> 
> Your solution works perfectly!
> 
> You are the most valuable -dbix related- person for me! :)
> 

Try to avoid using scalarrefs in conditions, as they are non-introspectable
and therefore end up being a "black box" which may break/pessimize things in
very weird cases. The column IS NOT NULL is written simply as:

column => { '!=', undef }

Cheers



More information about the DBIx-Class mailing list