GoogleApi.Spanner.V1.Model.ResultSetMetadata (google_api_spanner v0.32.0) View Source

Metadata about a ResultSet or PartialResultSet.

Attributes

  • rowType (type: GoogleApi.Spanner.V1.Model.StructType.t, default: nil) - Indicates the field names and types for the rows in the result set. For example, a SQL query like "SELECT UserId, UserName FROM Users" could return a row_type value like: "fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
  • transaction (type: GoogleApi.Spanner.V1.Model.Transaction.t, default: nil) - If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Spanner.V1.Model.ResultSetMetadata{
  rowType: GoogleApi.Spanner.V1.Model.StructType.t() | nil,
  transaction: GoogleApi.Spanner.V1.Model.Transaction.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.