Re: rolling LIMIT into C::DBI::Mysql?

[prev] [thread] [next] [Date index for 2004/07/27]

From: Rhesa Rozendaal
Subject: Re: rolling LIMIT into C::DBI::Mysql?
Date: 19:18 on 27 Jul 2004
jason scott gessner wrote:

> Hi All.
> 
> I was about to do this, when I saw on the wiki that someone already has 
> the code up for it:

Heh, that was my hack.

> $frag .= " LIMIT $search_opts->{limit}" if $search_opts->{limit};
> 
> added to _do_search will give you limiting in the search options.  If i 
> were to prepare a patch to add this to C::DBI::MySQL, do you think that 
> would be able to make it out and into a release?

I wouldn't expect to see it in CDBI: it's too database specific. It 
won't work on SQL Server, for instance.
I'd suggest we take it up with the developer of CDBI::Mysql or other 
db-specific modules that support LIMIT and/or OFFSET.

Rhesa

rolling LIMIT into C::DBI::Mysql?
jason scott gessner 19:13 on 27 Jul 2004

Re: rolling LIMIT into C::DBI::Mysql?
Tony Bowden 19:15 on 27 Jul 2004

Re: rolling LIMIT into C::DBI::Mysql?
Rhesa Rozendaal 19:18 on 27 Jul 2004

RE: rolling LIMIT into C::DBI::Mysql?
Addison, Mark 12:11 on 28 Jul 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52