Class Mod
A mod describes all data changes in a watched table row.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class Mod : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Keys
Returns the value of the primary key of the modified row.
Declaration
[JsonProperty("keys")]
public virtual IList<ModValue> Keys { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<ModValue> |
NewValues
Returns the new values after the change for the modified columns. Always empty for DELETE.
Declaration
[JsonProperty("newValues")]
public virtual IList<ModValue> NewValues { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<ModValue> |
OldValues
Returns the old values before the change for the modified columns. Always empty for INSERT, or if old values are not being captured specified by value_capture_type.
Declaration
[JsonProperty("oldValues")]
public virtual IList<ModValue> OldValues { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<ModValue> |