Thanks so much. I am new to this whole SQL/database thing and this is the exact function I was looking for.
On Jan 15, 1:59 pm, Michael Bayer <mike...@zzzcomputing.com> wrote: > try using the DDL() construct instead. I dont think Index() supports > that syntax. > > On Jan 15, 2009, at 3:10 PM, KevinTran wrote: > > > > > I have a quick question. I am trying to make an index for my table in > > MySQL. I have the line below: > > > Index('index_table_on_field', table.c.field) > > > I want to specify a length as in the SQL: > > > KEY `index_table_on_field` (`field`(255)) > > > Where do I enter the value 255 in the SQLAlchemy syntax? > > > Thanks and I hope my question makes sense. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---