Click or drag to resize

QdbIntegerUpdate Method

Sets the value of the integer, fails if it already exists.

Namespace:  Quasardb
Assembly:  Quasardb (in Quasardb.dll) Version: 3.15.0.0 (3.15.0.0)
Syntax
public bool Update(
	long value,
	DateTime? expiryTime = null
)

Parameters

value
Type: SystemInt64
The new value of the integer.
expiryTime (Optional)
Type: SystemNullableDateTime
The expiry time of the integer.

Return Value

Type: Boolean
true if the integer has been created, or false if it has been replaced.
Exceptions
ExceptionCondition
QdbIncompatibleTypeExceptionThe entry in the database is not an integer.
See Also