LazyRecord\TableParser\PgsqlTableParser::getTables PHP 메소드

getTables() 공개 메소드

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);
    }