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

Oleg Pronin syber.rus at gmail.com
Fri Jul 6 18:05:09 GMT 2007


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 <dbix-class at trout.me.uk>:
>
> 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/
>
> _______________________________________________
> 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070706/d0d=
ae918/attachment.htm


More information about the Dbix-class mailing list