Hi Anthony!,

Yes, a friend of mine just gave me the same solution and I can't believe I
didn't thought about that :P.

Thanks a lot!!!


On Tue, Jan 22, 2013 at 11:10 AM, Anthony <abasta...@gmail.com> wrote:

> I suppose you could do something like:
>
> rows = db(query).select()
> for i in range(len(rows)-1):
>     <code comparing rows[i] to rows[i+1]>
>
> Anthony
>
> On Tuesday, January 22, 2013 8:17:10 AM UTC-5, Luciano Laporta Podazza
> wrote:
>>
>> Hello,
>>
>> I've been searching a lot about this but couldn't find anything so sorry
>> for this basic question.
>>
>> How can I compare an actual row object with the next one inside a
>> for...in loop?
>>
>> Thanks in advance!
>>
>  --
>
>
>
>



-- 
Atte
Luciano Laporta Podazza

-- 



Reply via email to