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

QueryResults Output Object (Invoke-GoogleBigQuery Cmdlet)

CData Cmdlets for Google BigQuery 2019 - Build 19.0.7354

The results of the query.


PSObject QueryResults


When executing a search, the results will be returned to the pipeline in a PSObject for each row, one row at a time. Each row object contains the columns of the table with their corresponding values. The row object also contains the table and the connection, which makes it easy to input these values to other cmdlets through a pipeline. Below is an example of a row object in JSON form:

PS C:\> $conn  = Connect-GoogleBigQuery -ProjectId 'NameOfProject' -DatasetId 'NameOfDataset'
PS C:\> $row = Select-GoogleBigQuery -Connection $conn -Table "publicdata.samples.github_nested" -Columns (,  -Where " = 'EntityFramework'" | select -first 1
PS C:\> $row | ConvertTo-Json
  "Connection":  {

    "Table":  "publicdata.samples.github_nested",
    "Columns":  [

    "":  "",
    "":  ""

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