CData Cmdlets for Google BigQuery 2019 - Online Help
Questions / Feedback?

Remove-GoogleBigQuery Cmdlet

CData Cmdlets for Google BigQuery 2019 - Build 19.0.7354

Parameters   Output Objects  

Deletes Google BigQuery data.

Syntax

Remove-GoogleBigQuery [parameters]

Remarks

The Remove-GoogleBigQuery cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Google BigQuery data.

$conn = Connect-GoogleBigQuery -ProjectId 'NameOfProject' -DatasetId 'NameOfDataset'
Remove-GoogleBigQuery -Connection $conn -Table "publicdata.samples.github_nested" -Id "1"
The Where parameter can also be used to specify the primary key:
Remove-GoogleBigQuery -Connection $conn -Table "exTable;" -Where "Id = 1"
The primary key can also be passed to the cmdlet along the pipeline:
Select-GoogleBigQuery -Connection $conn -Table publicdata.samples.github_nested -Where "repository.name = 'EntityFramework'" | Remove-GoogleBigQuery

 
 
Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 19.0.7354.0