Google\Cloud\BigQuery\Dataset::exists PHP 메소드

exists() 공개 메소드

Example: echo $dataset->exists();
public exists ( ) : boolean
리턴 boolean
    public function exists()
    {
        try {
            $this->connection->getDataset($this->identity + ['fields' => 'datasetReference']);
        } catch (NotFoundException $ex) {
            return false;
        }
        return true;
    }