Click or drag to resize

QdbStringUpdate Method

Replaces the content.

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

Parameters

content
Type: SystemString
The new content of the string.
expiryTime (Optional)
Type: SystemNullableDateTime
The expiry time to set.

Return Value

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