pwtools.sql.SQLiteDB.has_column

SQLiteDB.has_column(col, table=None)[source]

Check if table already has the column col.

Parameters:
  • col (str) – column name in the database

  • table (str, optional) –