what's the purpose of limiting the number of rows you have to count  ?

On Thursday, April 25, 2013 11:39:50 AM UTC+2, Domagoj Kovač wrote:
>
> In documentation i see:
>
> >>> count = db.person.id.count()
> >>> for row in db(db.person.id==db.thing.owner_id).select(
>         db.person.name, count, groupby=db.person.name):
>         print row.person.name, row[count]
> Alex 2
> Bob 1
>
>
> but i need to limit the number of rows
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to