public sealed class Field : IMessage<StructType.Types.Field>, IEquatable<StructType.Types.Field>, IDeepCloneable<StructType.Types.Field>, IBufferMessage, IMessage
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 `Field` class represents a single field within a struct, which is part of the `Google.Cloud.Spanner.V1` namespace and found in the `Google.Cloud.Spanner.V1.dll` assembly."],["This class includes two constructors, a default `Field()` constructor, and one that accepts another `StructType.Types.Field` as a parameter."],["The `Field` class contains two primary properties: `Name`, a string representing the field's name or column alias, and `Type`, specifying the data type of the field."],["The current version, as well as a list of previous versions, of the StructType.Types.Field class, is provided."],["The latest version available is 5.0.0-beta05, and there are multiple versions available, ranging down to 3.5.0."]]],[]]