On Fri, May 4, 2012 at 12:12 PM, Kenneth S Mclane <[email protected]>wrote:

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
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to