LazyRecord\TableParser\PgsqlTableParser::getTables PHP Method

getTables() public method

public getTables ( )
    public function getTables()
    {
        $stm = $this->connection->query('SELECT table_name FROM information_schema.tables WHERE table_schema = \'public\';');
        $rows = $stm->fetchAll(PDO::FETCH_NUM);
        return array_map(function ($row) {
            return $row[0];
        }, $rows);
    }