[sqlalchemy] Re: Multi-column primary key

2007-03-13 Thread Mikkel Høgh
Well, that's simple :) On Mar 13, 1:20 am, Michael Bayer [EMAIL PROTECTED] wrote: use a composite primary key - just mark each column with 'primary_key=True'. On Mar 12, 2007, at 2:28 PM, Mikkel Høgh wrote: Hi there, I'm trying to make a small (open source) inventory tracking system

[sqlalchemy] Re: Multi-column primary key

2007-03-12 Thread Michael Bayer
use a composite primary key - just mark each column with 'primary_key=True'. On Mar 12, 2007, at 2:28 PM, Mikkel Høgh wrote: Hi there, I'm trying to make a small (open source) inventory tracking system with TurboGears and SQLAlchemy, and I have a little problem with how I should