Class ResultSetMetadata (2.0.0)

ResultSetMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata about a ResultSet][google.spanner.v1.ResultSet] or PartialResultSet][google.spanner.v1.PartialResultSet].

Attributes

NameDescription
row_type .gs_type.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" } }, ]
transaction .gs_transaction.Transaction
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.