Phants Client for Redis™*
Public Member Functions | List of all members
ZaddOptions Class Reference

Public Member Functions

void SetExistsOption (ExistsOption option)
 
void ClearExistsOption ()
 
void SetReturnChanged (bool returnChanged)
 

Detailed Description

Options class used by the Zadd() and ZaddWithIncr() methods.

Member Function Documentation

void ClearExistsOption ( )
inline

Clears/unsets any key existence modifiers that have been set.

Both the NX and XX modifiers will be omitted from the command.

void SetExistsOption ( ExistsOption  option)
inline

Sets the NX or XX modifier.

Note: the NX and XX modifiers are mutually exclusive.

Parameters
optionThe key existence modifier.
void SetReturnChanged ( bool  returnChanged)
inline

Sets or clears the CH modifier.

Parameters
returnChangedA value of true includes the CH modifier, false omits it.

The documentation for this class was generated from the following file: