Re: [sqlalchemy] How to profit from dynamic and eager loading at the same time

2015-11-30 Thread Mike Bayer
On 11/30/2015 07:36 AM, Leily Zafari wrote: > I have two tables "Factorys" and "Products", each "Factory" can have a > large collection of "Products". For appends and filters the dynamic > loading method has been applied. > > | > | > |classFactory(Base): > > __tablename__ ='factorys' >

[sqlalchemy] How to profit from dynamic and eager loading at the same time

2015-11-30 Thread Leily Zafari
I have two tables "Factorys" and "Products", each "Factory" can have a large collection of "Products". For appends and filters the dynamic loading method has been applied. class Factory(Base): __tablename__ = 'factorys' ID = Column(Integer, primary_key=True) products =