google_api_spanner v0.2.0 GoogleApi.Spanner.V1.Model.ResultSetMetadata View Source

Metadata about a ResultSet or PartialResultSet.

Attributes

  • rowType (StructType): 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" } }, ] Defaults to: null.
  • transaction (Transaction): If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here. Defaults to: null.

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.