[Dbix-class] Adding a case statement to a ResultSet

Ronald J Kimball rkimball at pangeamedia.com
Fri May 4 16:20:57 GMT 2012


On Fri, May 4, 2012 at 12:12 PM, Kenneth S Mclane <ksmclane at us.ibm.com>wrot=
e:

adds the case statement to the sql, but I get an error that "sunset_date"
> is ambiguous. If I specify it as "account.sunset_date" I get
> "account.sunset_date is invalid in the context it is being used in."
>

Try me.sunset_date.  See the documentation for join in
DBIx::Class::ResultSet.

Ronald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20120504/c85=
83699/attachment.htm


More information about the DBIx-Class mailing list