2009/2/18 Joel Bernstein <j...@fysh.org>: > Why do you feel that is a hack? It seems equivalent to your original query.. > $rs->search({ 1 => \'sql literal here', }) > It's a perfectly common idiom so I'm not too sure why you feel it's hacky?
I suppose you meant, it feels like a hack to use a SQL literal to mimic the original query, and does DBIC have a more logical way to achieve it? I'm not sure that it does.. /joel _______________________________________________ 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