Re: [sqlalchemy] modifying a field

2010-06-20 Thread Michael Bayer
On Jun 20, 2010, at 5:18 PM, Aref Nammari wrote: > I have the following code: > > db = SqlSoup('sqlite:///c:\\tutorial.db3') > db_dynamic = 'tf_user' > DB = db.entity(db_dynamic) > print DB > ColHeader = DB.c.keys() > conn = db.connection() > #modify a field > DB.password = 'hello' > db.flush()

[sqlalchemy] modifying a field

2010-06-20 Thread Aref Nammari
I have the following code: db = SqlSoup('sqlite:///c:\\tutorial.db3') db_dynamic = 'tf_user' DB = db.entity(db_dynamic) print DB ColHeader = DB.c.keys() conn = db.connection() #modify a field DB.password = 'hello' db.flush() #get the table data data = select([db.tf_user],) listdata=[] for row in