[sqlalchemy] Using Oracle Indexes...

2012-05-30 Thread Christian Klinger
Hi, Hi i use sqlalchemy to map an existing oracle table to my class via the declarative syntax. One of the columns is indexed. Do i understand it correctly to only specify the index in my Column? class Example(...) mnr = Column(MNR, String(12), primary_key=True, index=True) And how can

Re: [sqlalchemy] Using Oracle Indexes...

2012-05-30 Thread Michael Bayer
On May 30, 2012, at 7:38 AM, Christian Klinger wrote: Hi, Hi i use sqlalchemy to map an existing oracle table to my class via the declarative syntax. One of the columns is indexed. Do i understand it correctly to only specify the index in my Column? class Example(...) mnr =