You are correct. I wanted to see the query int produces to verify it works 
(in a small test case) and got an error that I did not make sense to me. I 
tried to used joinedload on the proxy, something that does not seem to 
work. But if I explicitly specify the chain as loading strategies, the 
correct query is produced. So yes, it works for M2O as well. Thanks for 
your help :)

On Tuesday, March 10, 2015 at 1:01:42 AM UTC+1, Jonathan Vanasco wrote:
>
> What version of SqlAlchemy are you using, and what error are you seeing?
>
> I use the association_proxy for M2M, M2O, O2O all the time.  
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to