[web2py] Re: Specify update column

2012-06-29 Thread naveed
Awesome! Thanks, Anthony

[web2py] Re: Specify update column

2012-06-28 Thread Anthony
db(query).update(**{field_name: value}) Anthony On Thursday, June 28, 2012 9:40:08 PM UTC-4, naveed wrote: > > I understand I can do an update in web2py like so: > > db(query).update(field=value) > > where field corresponds to a column in the table. > > If I have the column name as a string, how