pwtools.sql.SQLiteDB.add_column¶
- SQLiteDB.add_column(col, sqltype, table=None)[source]¶
Add column col with type sqltype to the header. To actually put data into that, use
execute()
and standard sql statements or seeattach_column()
orfill_column()
.- Parameters:
col (str) – column name
sqltype (str) – sqlite data type (see
SQLEntry
)table (str, optional)