Florent Aide schrieb: > Fred C <[EMAIL PROTECTED]> wrote: >> InvalidRequestError: This operation requires a Query against a single >> mapper. >> >> It seems that count() cannot be used on that kind of requests with join. > > try with SQLAlchemy 0.4.x It seems this kind of error was not present > in this branch...
I can confirm that. It works with SA 0.4.8, but not with SA 0.5rc3. You should report that on the SA mailing list, they usually have profound answers or provide bug fixes. I see no reason why you shouldn't be able to use count() with such queries. -- Christoph --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

