[sqlalchemy] Association Proxy question ( or other ORM feature )

2013-08-06 Thread Jonathan Vanasco
I have three tables that are structured somewhat like this: Document * id * all_images = sa.orm.relationship(Document2Image) Image * id * all_documents = sa.orm.relationship(Document2Image) Document2Image * id * document_id * image_id * image_type_id * document = sa.orm.relationship(Document)

Re: [sqlalchemy] Association Proxy question ( or other ORM feature )

2013-08-06 Thread Michael Bayer
On Aug 6, 2013, at 6:23 PM, Jonathan Vanasco jonat...@findmeon.com wrote: I have three tables that are structured somewhat like this: Document * id * all_images = sa.orm.relationship(Document2Image) Image * id *