Re: [sqlalchemy] association_proxy

2020-03-13 Thread Mike Bayer
On Wed, Mar 11, 2020, at 1:50 PM, Damian Yurzola wrote: > Folks: > > I'm trying to achieve the following. > I have a legacy table (Parent), which has a good foreign key to a tiny table > that complements it (Child). > > For the use case, querying Parent without joining with Child is not > mea

[sqlalchemy] association_proxy

2020-03-13 Thread Damian Yurzola
Folks: I'm trying to achieve the following. I have a legacy table (Parent), which has a good foreign key to a tiny table that complements it (Child). For the use case, querying Parent without joining with Child is not meaningful. class Child(Base): __tablename__ = "child" id = Column(I