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 content provides documentation for the `Field` class, which represents a single field within a struct in the `Google.Cloud.Spanner.V1` namespace."],["Multiple versions of the `Field` class documentation are available, ranging from version 3.5.0 up to the latest beta version 5.0.0-beta05."],["The `Field` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `Object`."],["The class has two constructors: a default constructor `Field()` and another `Field(StructType.Types.Field other)` for creating a new Field based on an existing one."],["The `Field` class contains two main properties: `Name`, representing the field's name (column name or alias), and `Type`, representing the data type of the field."]]],[]]