public sealed class StructType.Types.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.
Message representing a single field of a struct.
Implements
IMessageStructTypeTypesField, IEquatableStructTypeTypesField, IDeepCloneableStructTypeTypesField, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Constructors
Field()
public Field()
Field(Field)
public Field(StructType.Types.Field other)
Parameter | |
---|---|
Name | Description |
other |
StructTypeTypesField |
Properties
Name
public string Name { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
Type
public Type Type { get; set; }
The type of the field.
Property Value | |
---|---|
Type | Description |
Type |