View Source ReqBigQuery.Result (ReqBigQuery v0.1.4)

Result struct returned from any successful query.

Its fields are:

  • columns - The column names;
  • rows - The result set. A list of lists, each inner list corresponding to a row, each element in the inner list corresponds to a column;
  • num_rows - The number of fetched or affected rows;
  • total_bytes_processed - The total number of bytes processed for the query;
  • job_id - The ID of the Google BigQuery's executed job. Returns nil for dry runs.

Summary

Types

@type t() :: %ReqBigQuery.Result{
  columns: [String.t()],
  job_id: binary() | nil,
  num_rows: non_neg_integer(),
  rows: [[term()] | binary()],
  total_bytes_processed: non_neg_integer()
}