[sqlalchemy] Automatic generation of id columns

2011-07-27 Thread Matthias
Hello, I'm currently writing my own version of the magic orm. I'd like it to generate id columns automatically. I tried it like shown below. When using the code I get an exception: ArgumentError: Mapper Mapper|Version|version could not assemble any primary key columns for mapped table 'Join

Re: [sqlalchemy] Automatic generation of id columns

2011-07-27 Thread Michael Bayer
On Jul 27, 2011, at 2:12 AM, Matthias wrote: Hello, I'm currently writing my own version of the magic orm. I'd like it to generate id columns automatically. I tried it like shown below. When using the code I get an exception: ArgumentError: Mapper Mapper|Version|version could not