Click or drag to resize

QdbBatchBlobGetAndUpdate 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.15.0.0 (3.15.0.0)
Syntax
public IQdbFuture<byte[]> GetAndUpdate(
	byte[] newContent,
	DateTime? expiryTime = null
)

Parameters

newContent
Type: SystemByte
The content of the blob to be set, before being replaced.
expiryTime (Optional)
Type: SystemNullableDateTime
The new expiry time of the blob.

Return Value

Type: IQdbFutureByte
A future that will contain the result of the operation after the batch is run.
See Also