What do I do then for a composite primary key?

PrimaryKeyConstraint('col1','col2')

-Gerry


On Apr 14, 9:13 pm, Michael Bayer <[email protected]> wrote:
> PrimaryKeyConstraint(name='name')
>
> On Apr 14, 2010, at 8:22 PM, Gerry Reno wrote:
>
>
>
> > category = Table('category', metadata,
> >    Column('name', String (64), nullable=False ),
> >    ...
> >    PrimaryKeyConstraint('name'),
> > )

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" 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/sqlalchemy?hl=en.

Reply via email to