flask sqlalchemy get list of all tables from database code example
Example 1: sql alchemy engine all tables
engine.table_names()
Example 2: list tables sqlalchemy
$ python
>>> from myapp import db
>>> db.engine.table_names()
engine.table_names()
$ python
>>> from myapp import db
>>> db.engine.table_names()