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 can I use this string variable to specify the column to do an update?
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 can I use this string variable to specify the column to do an update?