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"]],[["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 content provides reference documentation for the \u003ccode\u003eStructType.Types.Field\u003c/code\u003e class in the Google Cloud Spanner v1 API, specifically for version 4.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eStructType.Types.Field\u003c/code\u003e, represents a single field within a struct and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the available constructors for the \u003ccode\u003eField\u003c/code\u003e class, including a default constructor and one that accepts another \u003ccode\u003eStructType.Types.Field\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eField\u003c/code\u003e class has two main properties: \u003ccode\u003eName\u003c/code\u003e, which represents the field's name (column name or alias), and \u003ccode\u003eType\u003c/code\u003e, which indicates the data type of the field.\u003c/p\u003e\n"],["\u003cp\u003eThere are many versions of this API, including a beta version, and versions going back to 3.5.0.\u003c/p\u003e\n"]]],[],null,[]]