when I do stuff like this on the Web (single and multi-page edits), I
build up a dict of 'changes'. When rendering forms, I default to the
key in changes or fallback to the sqlalchemy object. when ready to
save, I copy over the changes to the object - if there are any changes
- and flush.
the
On Feb 5, 2013, at 1:19 PM, ru...@yahoo.com wrote:
Actually I did not mean either declarative or classical
mapping, I meant whatever style this is called:
class User: pass
class Address: pass
engine = sa.create_engine (connectstr)
connection = engine.connect()