GeoEco.Datasets.SQLite.SQLiteDatabase.DeleteTable

SQLiteDatabase.DeleteTable(tableName, failIfNotExists=False)

Deletes a table.

Raises:

RuntimeError – The table does not exist and failIfNotExists is True, or some other problem occurred when deleting the table.

Parameters:
  • tableName (str) – Name of the table. Minimum length꞉ 1.

  • failIfNotExists (bool, optional) – If True, RuntimeError will be raised if the table does not exist. If False, the default, this method will silently succeed if the table does not exist.