Property IfPresent
IfPresent
Gets or sets a value that determines whether to perform the Put
operation only if there is an existing row that matches the
primary key.
Declaration
public bool IfPresent { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
true to perform the Put operation only if there is an
existing row matching the primary key, otherwise false .
The default is false .
|
Remarks
This property is exclusive with IfAbsent
and MatchVersion. If set to
true
,
those properties will be unset. You may also use
PutIfPresentAsync(String, MapValue, PutOptions, CancellationToken) API instead of setting
this option.