Hi, I have to use sqlalchemy to execute a very complex query. It would be the union of ~30.000 smaller queries, joined with query.union() or query.union_all().
I wonder whether it is better to just execute all these queries separately and merge the results in python, or try the query.union approach. I noticed that unifying two queries usually produces a bit of garbaged query, in the sense that the ORM tries to rename every object the the verbose output is very long. Has anyone ever tried to unify something like 30.000 query objects? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---