db.mytable.fields returns a list of the field names, and db.mytable.fields() returns a copy of that list (so if you mutate the copy, the original list doesn't change).
Anthony On Friday, August 17, 2012 2:27:22 PM UTC-4, apps in tables wrote: > > > How to get the list of the fields names? > > On Friday, August 17, 2012 6:37:58 PM UTC+3, rochacbruno wrote: >> >> >> def feed(table): >>> return db(db[table].id>0).select() >> >> >> --

