Re: [sqlalchemy] recipe advice for special 1:1 relationships

2019-04-04 Thread Mike Bayer
On Thu, Apr 4, 2019 at 9:34 AM Kent wrote: > > I've used sqlalchemy for many years and something that has come up now and > then is the need for adding a relationship to a mapper that normally would be > a collection (uselist=True) but instead we want to target a specific record > in that

[sqlalchemy] recipe advice for special 1:1 relationships

2019-04-04 Thread Kent
I've used sqlalchemy for many years and something that has come up now and then is the need for adding a relationship to a mapper that normally would be a collection (uselist=True) but instead we want to target a specific record in that collection. As a simplified illustration, suppose you