google_api_spanner v0.6.1 GoogleApi.Spanner.V1.Model.ResultSetMetadata 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

Link to this type

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

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.