Re: [sqlalchemy] Nested Exists Query produces join

2018-02-09 Thread Mike Bayer
On Fri, Feb 9, 2018 at 5:46 AM, wrote: > I'm trying to do a Many-to-Many query for all rows in `AModel` that don't > have a relationship with every `BModel` row. > > # The schema that looks like this: > class AModel(Base): > __tablename__ = 'amodels' > id =

[sqlalchemy] Nested Exists Query produces join

2018-02-09 Thread devin
I'm trying to do a Many-to-Many query for all rows in `AModel` that don't have a relationship with every `BModel` row. # The schema that looks like this: class AModel(Base): __tablename__ = 'amodels' id = Column(Integer, primary_key=True) relationship('BModel',