[Dbix-class] Re: SELECT .. FOR ... (and other db-specific clauses).

Matt S Trout dbix-class at trout.me.uk
Thu Jul 5 01:30:14 GMT 2007


On Thu, Jul 05, 2007 at 02:56:23AM +0400, Oleg Pronin wrote:
> 2007/7/4, Ash Berlin <ash_cpan at firemirror.com>:
> >
> >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/ 



More information about the Dbix-class mailing list