[Dbix-class] expressing IS NULL

Len Jaffe lenjaffe at jaffesystems.com
Sun Aug 20 19:44:49 CEST 2006


In order to have an "AND mydate IS NULL" criterion as part of a query,
I ende dup having to chain a search_literal() on the end of a search()
becuase
every way I expressed it in the search() criteria hash, I ended up with
errors when
the string literal 'NULL' was bound to the column mydate.

Is there a way to express IS NULL inside search(), or is the practice to use
search_literal()?

Thanks
Len.

-- 
lenjaffe at jaffesystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/dbix-class/attachments/20060820/30106b52/attachment.htm 


More information about the Dbix-class mailing list