public sealed class Field : IMessage<StructType.Types.Field>, IEquatable<StructType.Types.Field>, IDeepCloneable<StructType.Types.Field>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class StructType.Types.Field.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-04 UTC."],[[["The `StructType.Types.Field` class represents a single field within a struct for the Google Cloud Spanner v1 API, as detailed in the reference documentation."],["The latest version available is `5.0.0-beta05`, with various versions including stable releases from `4.6.0` to `4.0.0` and `3.15.1` to `3.5.0` available, demonstrating the evolution of the API."],["The `Field` class inherits from `Object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has properties for `Name`, representing the field's name, and `Type`, representing the field's data type, both essential for understanding the structure of the field."],["Two constructors are available for the `Field` class: the default `Field()` constructor and the `Field(StructType.Types.Field other)` constructor that allows for creation using another `StructType.Types.Field` as a template."]]],[]]