Skip to content

get_table_names

get_table_names()

Returns the names of all user-defined tables in the database, queried from the SQLite master table. Unlike get_tables(), this returns plain strings rather than raw row objects, making it more convenient for checking table existence or iterating over table names.

Returns

list[str]
Names of all tables currently in the database.