It was just a general idea how to implement this workaround in DBIC. I didn't know that you were able to manipulate SQL::Abstract. In this case of course it is the right place for such things.
2007/7/5, Matt S Trout <[EMAIL PROTECTED]>:
On Thu, Jul 05, 2007 at 02:56:23AM +0400, Oleg Pronin wrote: > 2007/7/4, Ash Berlin <[EMAIL PROTECTED]>: > > > >Dami Laurent (PJ) wrote: > >[snip] > >> "SELECT ... WHERE NATIVE ('some db-specific syntax')". To do > >[snip] > > > >$rs->search_literal("NATIVE ('some db-specific syntax')"); > > > >would do the job there. > > > This is just one example of the problem. search_literal doesn't solve > problems discussed in previous thread The point is that it's an example of a -different- problem that's largely already solved by search_literal. I believe your callback idea is awful; the correct approach will be to allow dialect-specific specialisations of SQL::Abstract which we'll get to as soon as we have time. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director Want a managed development or deployment platform? Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote http://chainsawblues.vox.com/ http://www.shadowcatsystems.co.uk/ _______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/dbix-class@lists.rawmode.org/
_______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/dbix-class@lists.rawmode.org/