On Wednesday, November 30, 2011 6:07:16 AM UTC-5, thodoris wrote:
>
> db.B[id].my_table = None
>
db.B[id] is a Row object (i.e., the result of a select), not a reference to 
the db record. So, you are simply changing the value in the Row object, not 
the db. To change the value in the db, you can do:

db.B[id] = dict(my_table=None)

or

db(db.B.id == id).update(my_table=None)

Anthony

Reply via email to