Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ResultSetMetadata

import type { ResultSetMetadata } from "https://googleapis.deno.dev/v1/spanner:v1.ts";

Metadata about a ResultSet or PartialResultSet.

interface ResultSetMetadata {
rowType?: StructType;
transaction?: Transaction;
undeclaredParameters?: StructType;
}

§Properties

§
rowType?: StructType
[src]

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?: Transaction
[src]

If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.

§
undeclaredParameters?: StructType
[src]

A SQL query can be parameterized. In PLAN mode, these parameters can be undeclared. This indicates the field names and types for those undeclared parameters in the SQL query. For example, a SQL query like "SELECT * FROM Users where UserId = @userId and UserName = @userName " could return a undeclared_parameters value like: "fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]