Re: [sqlalchemy] association proxy and eager loading

2015-12-18 Thread Simon King
On Fri, Dec 18, 2015 at 1:20 AM, Jonathan Vanasco wrote: > I'm trynig to use association_proxy to map a collection of items through > an intermediary table > > I'm running into a problem where I can't figure out a way to eagerload the > collection through the extension. >

[sqlalchemy] How to cast/convert inserting data using type of column

2015-12-18 Thread TomS.
Hi, I've tried on Stack, but without positive results, thus maybe someone here faced similar issue and can help:). I would like to store XML results in DB. There are many tags (in example I only used two) in XML content, so instead of addressing every column's name explicitly, I iterate

Re: [sqlalchemy] association proxy and eager loading

2015-12-18 Thread Jonathan Vanasco
Thanks Simon! I tried your method and it didn't work... because I had been resetting my query all along and not noticing (!!!) FFS. After extensive testing this morning, I found that mistake because these 3 forms will generate the same exact sql in the current 1.x release: # Chained