Hi everyone,
I realize this is probably more a question for the SA mailing list, but I'm
not a member there and it applies to people migrating an old TG 1.0.early
version to either tg2 or tg1.0.8.
In TG1.0.3 I had SA version 0.3.x using assign_mapper. With that mapper I
could do a
x=klass.get(arg)
x.column=5
x.flush()
How do I do the same using SA 0.5.4 with declarative ?
Declarative wraps that stuff internally and I can't figure out how to get the
session from declarative.
I'm assuming it's something like
self.whatever.session.flush(object - x in the above example)
Any pointers greatly appreciated.
Uwe
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---