| 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
)
Public Function GetAndUpdate (
newContent As Byte(),
Optional expiryTime As DateTime? = Nothing
) As IQdbFuture(Of Byte())
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:
IQdbFutureByteA future that will contain the result of the operation after the batch is run.
See Also