Re: [SQLObject] Multiple values on a primary key

2007-05-04 Thread Sam's Lists
I wanted to do this as well, but just coded around it. If you absolutely have to do it, you could look at sqlalchemy. I believe it can do this. I've never used it. If you are building a new database, it's pretty easy to code around. On 5/4/07, Iacopo Pecchi <[EMAIL PROTECTED]> wrote: Hello,

Re: [SQLObject] Multiple values on a primary key

2007-05-04 Thread Oleg Broytmann
On Fri, May 04, 2007 at 09:37:22AM +0200, Iacopo Pecchi wrote: > I would like to know how i can create a primary key on multiple > values/variables, > like primary key(name, surname). Sorry, but you cannot. SQLObject doesn't support everything that SQL allows. A primary key for SQLObject must b

[SQLObject] Multiple values on a primary key

2007-05-04 Thread Iacopo Pecchi
Hello, i'm new to turbogears and sqlobject. I would like to know how i can create a primary key on multiple values/variables, like primary key(name, surname). Thanks Iacopo - This SF.net email is sponsored by DB2 Express Dow