Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace UpdateRowDetails

Specifications for the putting of a table row.

Properties

Optional compartmentId

compartmentId: undefined | 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.

Optional identityCacheSize

identityCacheSize: undefined | number

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. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional isExactMatch

isExactMatch: undefined | false | true

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.

Optional isGetReturnRow

isGetReturnRow: undefined | false | true

If true, and the put fails due to an option setting, then the existing row will be returned.

Optional isTtlUseTableDefault

isTtlUseTableDefault: undefined | false | true

If true, set time-to-live for this row to the table's default.

Optional option

option: Option

Specifies a condition for the put operation.

Optional timeoutInMs

timeoutInMs: undefined | number

Timeout setting for the put. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional ttl

ttl: undefined | number

Time-to-live for the row, in days. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

value

value: object

The map of values from a row.

Type declaration

  • [key: string]: any

Functions

getDeserializedJsonObj

getJsonObj