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! > --

