src/Database/Model.php
public function showTables()
    {
        $sql = 'SHOW TABLES';
        $query = $this->pdo->prepare($sql);
        $query->execute();

        return $query->fetchAll(PDO::FETCH_ASSOC);
    }
public function showTables()
    {
        $sql = 'SHOW TABLES';
        $query = $this->pdo->prepare($sql);
        $query->execute();

        return $query->fetchAll(PDO::FETCH_ASSOC);
    }
public function showTables ( ) { $ sql = 'SHOW TABLES' ; $ query = $ this -> pdo -> prepare ( $ sql ) ; $ query -> execute ( ) ; return $ query -> fetchAll ( PDO :: FETCH_ASSOC ) ; }
Run a `SHOW TABLES` query and return the results
@return array Result of the `SHOW TABLES` query
@since 1.1.4
Run a SHOW TABLES query and return the results