src/Mmi/Db/Adapter/PdoMysql.php
public function tableList($schema = null)
    {
        $list = $this->fetchAll('SHOW TABLES;');
        $tables = [];
        foreach ($list as $row) {
            foreach ($row as $name) {
                $tables[] = $name;
            }
        }
        return $tables;
    }
public function tableList($schema = null)
    {
        $list = $this->fetchAll('SHOW TABLES;');
        $tables = [];
        foreach ($list as $row) {
            foreach ($row as $name) {
                $tables[] = $name;
            }
        }
        return $tables;
    }
public function tableList ( $ schema = null ) { $ list = $ this -> fetchAll ( 'SHOW TABLES;' ) ; $ tables = [ ] ; foreach ( $ list as $ row ) { foreach ( $ row as $ name ) { $ tables [ ] = $ name ; } } return $ tables ; }
Listuje tabele w schemacie bazy danych
@param string $schema nie istotny w MySQL
@return array
Listuje tabele w schemacie bazy danych