table_exists¶
-
GenericDBWrapper.table_exists(table: str) → bool[source]¶ Returns
Trueif the tabletableexists in the database, otherwiseFalse.>>> GenericDBWrapper().table_exists('some_table') True >>> GenericDBWrapper().table_exists('other_table') False
- Parameters
table (str) – The table to check for existence.
- Return bool exists
Trueif the tabletableexists in the database, otherwiseFalse.