Re: [sqlalchemy] SQLAlchemy ForeignKey relation via an intermediate table

2010-02-09 Thread Michael Bayer
On Feb 9, 2010, at 9:43 PM, Boda Cydo wrote: > Hello everyone! > > Please help me with this difficult problem. I can't find a solution > myself: > > Suppose that I have a table `Articles`, which has fields `article_id`, > `content` and it contains one article with id `1`. > > I also have a tab

[sqlalchemy] SQLAlchemy ForeignKey relation via an intermediate table

2010-02-09 Thread Boda Cydo
Hello everyone! Please help me with this difficult problem. I can't find a solution myself: Suppose that I have a table `Articles`, which has fields `article_id`, `content` and it contains one article with id `1`. I also have a table `Categories`, which has fields `category_id` (primary key), `c