I am not reflecting the tables. Example code:

from sqlalchemy import *

metadata = BoundMetaData('postgres://user:[EMAIL PROTECTED]/mydb',
echo=True)

company_tbl = Table('company', metadata,
    Column('company_id', Integer, primary_key=True,
autoincrement=True),
    Column('name', Unicode(30)))

metadata.create_all()

assert company_tbl.c.company_id.autoincrement == True
assert company_tbl.c.name.autoincrement == True    # passes!
assert company_tbl.c.name.autoincrement == False   # fails!

sanjay


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to