Not sure but should be something like that: db(db.yourtable.id>0).select(limitby=5)
Massimiliano Il giorno 27/set/2011, alle ore 12:52, Web2Py Freak <[email protected]> ha scritto: > Hey guys , > > how can i get to 5 records from a table ??
Not sure but should be something like that: db(db.yourtable.id>0).select(limitby=5)
Massimiliano Il giorno 27/set/2011, alle ore 12:52, Web2Py Freak <[email protected]> ha scritto: > Hey guys , > > how can i get to 5 records from a table ??