[sqlalchemy] Re: Query generation in 0.3.8 is broken?

2007-06-07 Thread Dmitry Zuikov
= join(task_t, jj, task_t.c.id == jj.c.joined_task_id).select ().alias('hi') mapper(cls, jjj, primary_key=[jjj.c.task_id]) On Jun 6, 2007, at 3:55 PM, Dmitry Zuikov wrote: once all that is done, then ill have a better idea of what youre actually trying to do (if it doesnt actually fix

[sqlalchemy] Re: Query generation in 0.3.8 is broken?

2007-06-06 Thread Dmitry Zuikov
Well, Sorry, I just copy-pasted it from real code, trying to get minimal example. I was in rush. I do not really use clear_mapper, just put it there to demostrate how it fails. Here the more clean code (or you may download it from http://dzuikov2.firstvds.ru/qqq.py) #!/usr/bin/env python