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.
>
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
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.
if i do:
query.options(joinedload('to_items', 'to_items.item'))
I can loop