record = db(db.videos).select(orderby=~db.videos.hits).first()

On Mon, Mar 26, 2012 at 1:11 PM, Hassan Alnatour <halna...@gardeniatelco.com
> wrote:

> Dear ALL ,
>
> I have a Table  like this :
>
> db.define_table('Videos',
> Field('Title'),
> Field('File','upload'),
> Field('Hits','integer'))
>
>
> how can i get the record with the highest Hits ?
>



-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to