> This will do what you want safely, using bind parameters:
> 
>     { count => \["CASE WHEN pathogen.name = ? THEN 1 ELSE NULL END",
> $name1] },

Thanks, this works perfectly
_______________________________________________
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/dbix-class@lists.scsys.co.uk

Reply via email to