public enum RedisZaddReturnBehavior

The supported behavior for what a zadd command return value should represent.

zadd normally returns the number of new elements inserted into the set (.insertedElementsCount), but also supports the option (.changedElementsCount) to return the number of elements changed as a result of the command.

“Changed” in this context refers to both new elements that were inserted and existing elements that had their score updated.