Darn; I missed that;
Thanks for the help;
I really thought I read the chapter through.
Thanks.
On 1/27/11 11:44 PM, ron_m wrote:
>From the DAL chapter of the manual
|update_record|
update_record
web2py also allows updating a single record that is already in memory
using |update_record|
1.
2.
3.
>>> rows=db(db.person.id> 2).select()
>>> row=rows[0]
>>> row.update_record(name='Curt')
This should not be confused with
1.
>>> row.update(name='Curt')
because for a single row, the method |update| updates the row object
but not the database record, as in the case of |update_record|.
|
|