"Jorge Vargas" <[EMAIL PROTECTED]> writes:

> On 8/4/06, Leandro Lucarella <[EMAIL PROTECTED]> wrote:
>
>                On svn's SQLObject you can do this:     
>              nameIndex = DatabaseIndex(firstName, lastName, unique=True)
>
>
>  
> that's a very nice feature, I hope TG moves there soon.

It is there already.

But note that this is *not* a PK of two columns.  It is a UNIQUE index.
You'll achieve almost the same thing but when you create a FK to this table it
will just mention the "id" column. 

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to