Re: [sqlalchemy] Problem with column_mapped_collection and joined table inheritance

2012-04-19 Thread Debilski
Thanks for adding it. I’ll promise to include a test case next time. Cheers /rike -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sqlalchemy/-/f18Gk7IZM1YJ. To post to this

[sqlalchemy] Problem with column_mapped_collection and joined table inheritance

2012-04-19 Thread Debilski
Hi, it seems there has been a bug introduced in http://hg.sqlalchemy.org/sqlalchemy/rev/4e9c059abca3 when using both column_mapped_collections and joined table inheritance. Due to the fact that:: cols = [c.key for c in [ expression._only_column_elements(q, "mapping_spec")

Re: [sqlalchemy] Appending to a collection duplicates the element

2011-03-23 Thread Debilski
On Wednesday, March 23, 2011 1:40:30 AM UTC+1, Michael Bayer wrote: > > > On Mar 22, 2011, at 6:03 PM, Debilski wrote: > > > Hi, > > I’m having a problem with the collection append method in a many-to- > > many relationship with association object. Basically, I’d

[sqlalchemy] Appending to a collection duplicates the element

2011-03-22 Thread Debilski
Hi, I’m having a problem with the collection append method in a many-to- many relationship with association object. Basically, I’d like to connect classes of type Entity through a Context object (which holds a description of the connection type). Programmatically, it should go like experiment =