Method Sql.pgsql()->list_tables() Method list_tables final array(string) list_tables(void|string glob) Returns An array containing the names of all the tables and views in the path in the currently selected database. Parameter glob If specified, list only the tables with matching names.