Hi Uwe!

> I'm assuming it's something like
> self.whatever.session.flush(object - x in the above example)
>
> Any pointers greatly appreciated.

I'd point You to the DBSession object, one can find it in yourapp/
model/__init__.py

Then,

my_entity = DBSession.query(MyEntity).get(some_id)
my_entity.some_property=5
DBSession.flush()
- or -
DBSession.commit()

will do (commit or flush depends on some settings, for example I use
'manual' transactions and have to issue DBSession.start() defore)

--
    Sergei

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to