[sqlalchemy] relation for single table, not joined

2010-02-19 Thread Kent
Suppose I have a database table, as an example, employee that has a column dept, but the dept is not represented by any other table in the database, it is just an attribute of employee. I would like to be able to create a standalone relation on a class that has no table so that I can assign lists

Re: [sqlalchemy] relation for single table, not joined

2010-02-19 Thread Michael Bayer
On Feb 19, 2010, at 7:26 AM, Kent wrote: Suppose I have a database table, as an example, employee that has a column dept, but the dept is not represented by any other table in the database, it is just an attribute of employee. I would like to be able to create a standalone relation on a