Re: [sqlalchemy] joinedload() vs join()

2016-09-13 Thread Marcin Gozdalik
Thanks for the link. It seems I missed that. On Mon, Aug 29, 2016 at 4:45 PM Mike Bayer wrote: > > > On 08/29/2016 08:32 AM, mgozda...@starfishstorage.com wrote: > > Hi > > > > I have a question about the difference between .join() and > > .options(joinedload()). > > > > I'm using example from >

Re: [sqlalchemy] joinedload() vs join()

2016-08-29 Thread Mike Bayer
On 08/29/2016 08:32 AM, mgozda...@starfishstorage.com wrote: Hi I have a question about the difference between .join() and .options(joinedload()). I'm using example from http://docs.sqlalchemy.org/en/rel_1_0/orm/extensions/hybrid.html#working-with-relationships (the one with SavingsAccount an

[sqlalchemy] joinedload() vs join()

2016-08-29 Thread mgozdalik
Hi I have a question about the difference between .join() and .options(joinedload()). I'm using example from http://docs.sqlalchemy.org/en/rel_1_0/orm/extensions/hybrid.html#working-with-relationships (the one with SavingsAccount and User) The doc shows SQL for Session().query(User, User.ba