Hi, 

How can i create columns in bulk using create_column  method? 
I tried as below,. 

    migrate_engine = create_engine('mysql://root:root@localhost/ 
payroll', echo=False) 
    metadata = MetaData(bind = migrate_engine) 
    metadata.reflect(bind = migrate_engine, schema = 'payroll') 

    tableObj = metadata.tables.get('test.salary') 

    colList = 
[Column('description',String(100)),Column('information',String(50))] 

    tableObj.append_column(*colList) 
    tableObj.create_column(*colList) 

getting an error as *TypeError*:*create() got multiple values for keyword 
argument 'table'*

Please do the needful. 

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/l6P5vE-GBUwJ.
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