Re: [sqlalchemy] Many-to-many secondaryjoin with filter

2012-09-07 Thread Michael Bayer
On Sep 6, 2012, at 6:55 PM, Kuba Dolecki wrote: Hello, I have been struggling for a few hours with the following issue. First, the models: stack_resources = db.Table('stack_resources', db.Column('stack_id', db.Integer, db.ForeignKey('stack.id')), db.Column('resource_id',

[sqlalchemy] Many-to-many secondaryjoin with filter

2012-09-06 Thread Kuba Dolecki
Hello, I have been struggling for a few hours with the following issue. First, the models: stack_resources = db.Table('stack_resources', db.Column('stack_id', db.Integer, db.ForeignKey('stack.id')), db.Column('resource_id', db.Integer, db.ForeignKey('resource.id')) ) class