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

Field

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

Message representing a single field of a struct.

interface Field {
name?: string;
type?: Type;
}

§Properties

§
name?: string
[src]

The name of the field. For reads, this is the column name. For SQL queries, it is the column alias (e.g., "Word" in the query "SELECT 'hello' AS Word"), or the column name (e.g., "ColName" in the query "SELECT ColName FROM Table"). Some columns might have an empty name (e.g., "SELECT UPPER(ColName)"). Note that a query result can contain multiple fields with the same name.

§
type?: Type
[src]

The type of the field.