View Source GoogleApi.Connectors.V2.Model.Query (google_api_connectors v0.9.0)

A wrapper around the SQL query statement. This is needed so that the JSON representation of ExecuteSqlQueryRequest has the following format: {"query":"select *"}.

Attributes

  • maxRows (type: String.t, default: nil) - Sets the limit for the maximum number of rows returned after the query execution.
  • query (type: String.t, default: nil) - Required. Sql query to execute.
  • queryParameters (type: list(GoogleApi.Connectors.V2.Model.QueryParameter.t), default: nil) - In the struct, the value corresponds to the value of query parameter and date type corresponds to the date type of the query parameter.
  • timeout (type: String.t, default: nil) - Sets the number of seconds the driver will wait for a query to execute.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Connectors.V2.Model.Query{
  maxRows: String.t() | nil,
  query: String.t() | nil,
  queryParameters: [GoogleApi.Connectors.V2.Model.QueryParameter.t()] | nil,
  timeout: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.