Click or drag to resize

QdbBatchBlob.GetAndUpdate Method

Adds a "getAndUpdate" operation to the batch: "Atomically reads and replaces (in this order) the content of blob."

Namespace:  Quasardb
Assembly:  Quasardb (in Quasardb.dll) Version: 3.10.2.0 (3.10.2.0)
Syntax
public IQdbFuture<byte[]> GetAndUpdate(
	byte[] newContent,
	DateTime? expiryTime = null
)

Parameters

newContent
Type:System.Byte[]
The content of the blob to be set, before being replaced.
expiryTime (Optional)
Type: System.Nullable<DateTime>
The new expiry time of the blob.

Return Value

Type: IQdbFuture<Byte[]>
A future that will contain the result of the operation after the batch is run.
See Also