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."],[[["This webpage details the `Field` class within the `Google.Cloud.Spanner.V1` namespace, specifically version 4.0.0 of the library, which represents a single field within a struct in Google Cloud Spanner."],["The `Field` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, offering capabilities for message handling, equality comparison, deep cloning, and buffered messaging."],["The class provides two constructors, a default `Field()` and one taking another `StructType.Types.Field` instance for copying, allowing for the creation of new field objects."],["The `Field` class includes properties `Name` and `Type`, which specify the name of the field as a string and its type using the `Type` class, respectively, within the context of database operations and queries."],["This page provides documentation for multiple versions of the Google.Cloud.Spanner.V1 library, ranging from version 3.5.0 up to the latest beta 5.0.0-beta05, with detailed information for each version."]]],[]]