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

Daisuke Maki daisuke at endeworks.jp
Thu Jul 5 06:45:23 GMT 2007


good to know that you're aware of these problems. thanks.

I guess I'll just locally patch my DBIC for now.
I only use Pg, so it does the job for me.

meanwhile, is the SQL::Abstract discussion carried on elsewhere? I'd 
love to at least poke around see what I can contribute.

--d

Matt S Trout wrote:
> 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.
> 




More information about the Dbix-class mailing list