Christopher Arndt schrieb:
> Unfortunately, it only works with SA >= 0.4.3, since
> scoped_session.query_property is not available before that. Can we up
> the SA requirement for TG1.1. accordingly?
Makes sense. People who do not want to upgrade at all can use TG 1.0.x.
This will also allow some simplification in command.sacommand and
turbogears.database.
>> One thing I noticed, for example, is that
>> MappedClass.query().something() does not work with the emulation, only
>> MappedClass.query.something().
>
> Is this important? Code which uses MappedClass.query().something() could
> be updated with a simple global search&replace.
I don't think it's important (I never used it and that usage was never
documented), but maybe something like this could do the trick:
cls.query.__call__ = lambda self: self
-- Christoph
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---