Backend.list_tables(like=None, database=None)

Return the list of table names in the current database.

For some backends, the tables may be files in a directory, or other equivalent entities in a SQL database.

  • like (str, optional) – A pattern in Python’s regex format.

  • database (str, optional) – The database to list tables of, if not the current one.


The list of the table names that match the pattern like.

Return type

list of str