Class Field
Message representing a single field of a struct.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class Field : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
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.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The type of the field.
Declaration
[JsonProperty("type")]
public virtual Type Type { get; set; }
Property Value
Type | Description |
---|---|
Type |