Dear All
I just started to use sqlalchemy and I am also quite new to databases.
I have a sqlite database saved with a table with name "Table1" and now I want to insert a colum with PickleType. The below code works for TEXT, INTEGER, etc... but not for PickleType.
curResults13={'Output':2.01,'QualityIndex':0.66,'FlatnessX':1.5,'FlatnessY=':1.8}
conn = sqlite3.connect("C:\\MLC QA\LA4.db")
c = conn.cursor()
c.execute("ALTER TABLE {tn} ADD COLUMN '{cn}' {ct} DEFAULT '{df}'"\
.format(tn='Table1', cn='Results', ct='ARRAY', df=curResults13))
conn.commit()
conn.close()
Can any of you guide me on this issue?
Thanks
Jothy