ZIncrByParams

Parameters for ZINCRBY commands <br/> <br/> In fact, Redis doesn't have parameters for ZINCRBY. Instead Redis has INCR parameter for ZADD.<br/> When users call ZADD with INCR option, its restriction (only one member) and return type is same to ZINCRBY. <br/> Document page for ZADD also describes INCR option to act like ZINCRBY. <br/> http://redis.io/commands/zadd <br/> <br/> So we decided to wrap "ZADD with INCR option" to ZINCRBY. <br/> https://github.com/xetorthio/redis/issues/1067 <br/> <br/> Works with Redis 3.0.2 and onwards.

Constructors

this
this()
Undocumented in source.

Members

Functions

getByteParams
const(ubyte)[][] getByteParams(const(ubyte)[] key, const(ubyte)[][] args)
Undocumented in source. Be warned that the author may not have intended to support it.
nx
ZIncrByParams nx()

Only set the key if it does not already exist. @return ZIncrByParams

xx
ZIncrByParams xx()

Only set the key if it already exist. @return ZIncrByParams

Static functions

zIncrByParams
ZIncrByParams zIncrByParams()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Params

getParam
T getParam(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getByteParams
const(ubyte)[][] getByteParams()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
addParam
void addParam(string name, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
addParam
void addParam(string name, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
addParam
void addParam(string name, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
addParam
void addParam(string name, byte[] value)
Undocumented in source. Be warned that the author may not have intended to support it.
addParam
void addParam(string name, Object value)
Undocumented in source. Be warned that the author may not have intended to support it.
addParam
void addParam(string name, Variant value)
Undocumented in source. Be warned that the author may not have intended to support it.
addParam
void addParam(string name)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta