Hello, How can I do Index('myindex', xyz.c.type, xyz.c.name, unique=True) in a declarative way?
class xyz(DeclarativeBase): __tablename__ = 'xyz' #{ Columns type = Column(Unicode(), nullable=False) name = Column(Unicode(), nullable=False) how do I do index declarative style? Thanks, Lucas -- Using rsync. How to setup rsyncd. http://lucasmanual.com/mywiki/rsync OpenLdap - From start to finish. http://lucasmanual.com/mywiki/OpenLdap --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---