Class UpdateRowDetails
Specifications for the putting of a table row.
Inherited Members
Namespace: Oci.NosqlService.Models
Assembly: OCI.DotNetSDK.Nosql.dll
Syntax
public class UpdateRowDetails
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the table's compartment. Required if the tableNameOrId path parameter is a table name. Optional if tableNameOrId is an OCID. If tableNameOrId is an OCID, and compartmentId is supplied, the latter must match the identified table's compartmentId. |
IdentityCacheSize
Declaration
[JsonProperty(PropertyName = "identityCacheSize")]
public int? IdentityCacheSize { get; set; }
Property Value
Type | Description |
---|---|
int? | Sets the number of generated identity values that are requested from the server during a put. If present and greater than 0, this value takes precedence over a default value for the table. |
IsExactMatch
Declaration
[JsonProperty(PropertyName = "isExactMatch")]
public bool? IsExactMatch { get; set; }
Property Value
Type | Description |
---|---|
bool? | If present and true, the presented row value must exactly match the table's schema. Otherwise, rows with missing non-key fields or extra fields can be written successfully. |
IsGetReturnRow
Declaration
[JsonProperty(PropertyName = "isGetReturnRow")]
public bool? IsGetReturnRow { get; set; }
Property Value
Type | Description |
---|---|
bool? | If true, and the put fails due to an option setting, then the existing row will be returned. |
IsTtlUseTableDefault
Declaration
[JsonProperty(PropertyName = "isTtlUseTableDefault")]
public bool? IsTtlUseTableDefault { get; set; }
Property Value
Type | Description |
---|---|
bool? | If true, set time-to-live for this row to the table's default. |
Option
Declaration
[JsonProperty(PropertyName = "option")]
[JsonConverter(typeof(StringEnumConverter))]
public UpdateRowDetails.OptionEnum? Option { get; set; }
Property Value
Type | Description |
---|---|
UpdateRowDetails.OptionEnum? | Specifies a condition for the put operation. |
TimeoutInMs
Declaration
[JsonProperty(PropertyName = "timeoutInMs")]
public int? TimeoutInMs { get; set; }
Property Value
Type | Description |
---|---|
int? | Timeout setting for the put. |
Ttl
Declaration
[JsonProperty(PropertyName = "ttl")]
public int? Ttl { get; set; }
Property Value
Type | Description |
---|---|
int? | Time-to-live for the row, in days. |
Value
Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public Dictionary<string, object> Value { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> | The map of values from a row. |
Remarks
Required