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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eStructType.Types.Field\u003c/code\u003e class represents a single field within a struct and is part of the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace, specifically within version 3.10.0 and can be referenced in later versions.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage<StructType.Types.Field>\u003c/code\u003e, \u003ccode\u003eIEquatable<StructType.Types.Field>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<StructType.Types.Field>\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e, providing functionalities for message handling, equality comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor \u003ccode\u003eField()\u003c/code\u003e and a copy constructor \u003ccode\u003eField(StructType.Types.Field other)\u003c/code\u003e, allowing for the creation of new instances either from scratch or by duplicating an existing field.\u003c/p\u003e\n"],["\u003cp\u003eIt exposes two primary properties: \u003ccode\u003eName\u003c/code\u003e (a string representing the field's name, which corresponds to the column name or alias in SQL queries) and \u003ccode\u003eType\u003c/code\u003e (representing the field's data type).\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provided has a history of 20 versions going back from the most recent beta version 5.0.0-beta05 to 3.5.0.\u003c/p\u003e\n"]]],[],null,[]]