[sqlalchemy] Re: add_entity(y) and join(y)

2008-10-07 Thread az
On Tuesday 07 October 2008 00:01:58 Michael Bayer wrote: On Oct 6, 4:22 pm, [EMAIL PROTECTED] wrote: hi i have a query where q = ...q.initial q = q.join( some_link_name ) ...q.otherstuff q = q.add_entity( target_klas_of_the_above_link) ... this used to work ok, but recently it

[sqlalchemy] Re: add_entity(y) and join(y)

2008-10-07 Thread az
yes, all is about sa 0.5. But 0.5 has been doing that since day one and 0.4 does it too, though 0.4 might not do it in the same set of cases. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To

[sqlalchemy] Re: add_entity(y) and join(y)

2008-10-07 Thread Michael Bayer
yeah a ticket helps since thats a lot for me to try to parse --~--~-~--~~~---~--~~ 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

[sqlalchemy] Re: add_entity(y) and join(y)

2008-10-07 Thread az
and may be related note: the add_entity() seems to be able to add whole classes and separate class.attributes, but this isnt mentioned even in the docstrings (what is entity anyway?). add_column() also isnt in the docs. --~--~-~--~~~---~--~~ You received this

[sqlalchemy] Re: add_entity(y) and join(y)

2008-10-07 Thread az
On Tuesday 07 October 2008 17:30:31 Michael Bayer wrote: yeah a ticket helps since thats a lot for me to try to parse #1188 is for A.join/add_entity mixture; i could not invent a way to pass proper with_polymorphic to declarative so it's set to ('*',None) to trigger aliasing. #1189 is for

[sqlalchemy] Re: add_entity(y) and join(y)

2008-10-06 Thread Michael Bayer
On Oct 6, 4:22 pm, [EMAIL PROTECTED] wrote: hi i have a query where q = ...q.initial q = q.join( some_link_name ) ...q.otherstuff q = q.add_entity( target_klas_of_the_above_link) ... this used to work ok, but recently it went doing cartesian products because the join made itself an