[jifty-devel] Jifty-DBI: Question about the Jifty::DBI::Collection->unlimit method

Frederic BLANC jifty-ml at blaf.org
Thu Oct 19 16:54:18 EDT 2006


On Thu, Oct 19, 2006 at 02:56:53PM -0400, Jesse Vincent wrote:
> 
> 
> 
> On Thu, Oct 19, 2006 at 08:51:54PM +0200, Frederic BLANC wrote:
> >  Hello,
> > 
> >  I do not understand why the unlimit method do a $self->limit(-1) call?
> > For me -1 is a true value, so this call means that the unlimit method
> > makes the Collection... limited? :-\
> 
> It's not a "limit(-1)" but:
> 
>     $self->_is_limited(-1);

 Woops, my mistake! Thanks for the explanation.

 -F.



More information about the jifty-devel mailing list