Metadata about a ResultSet or PartialResultSet.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#row_type
def row_type() -> ::Google::Cloud::Spanner::V1::StructType
-
(::Google::Cloud::Spanner::V1::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 arow_type
value like:"fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
#row_type=
def row_type=(value) -> ::Google::Cloud::Spanner::V1::StructType
-
value (::Google::Cloud::Spanner::V1::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 arow_type
value like:"fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
-
(::Google::Cloud::Spanner::V1::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 arow_type
value like:"fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
#transaction
def transaction() -> ::Google::Cloud::Spanner::V1::Transaction
- (::Google::Cloud::Spanner::V1::Transaction) — If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
#transaction=
def transaction=(value) -> ::Google::Cloud::Spanner::V1::Transaction
- value (::Google::Cloud::Spanner::V1::Transaction) — If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
- (::Google::Cloud::Spanner::V1::Transaction) — If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.