Class

BinaryCollection

BinaryCollection

BinaryCollection provides various binary operations which are available to be performed against a collection.

Methods

# append(key, value, optionsopt, callback) → {Promise.<AppendResult>}

Parameters:
Name Type Attributes Description
key string
value Buffer
options * <optional>
timeout integer <optional>
callback AppendCallback

View Source binarycollection.js, line 80

Promise.<AppendResult>

# decrement(key, value, optionsopt, callback) → {Promise.<DecrementResult>}

Parameters:
Name Type Attributes Description
key string
value integer
options * <optional>
timeout integer <optional>
callback DecrementCallback

View Source binarycollection.js, line 57

Promise.<DecrementResult>

# increment(key, value, optionsopt, callback) → {Promise.<IncrementResult>}

Parameters:
Name Type Attributes Description
key string
value integer
options * <optional>
timeout integer <optional>
callback IncrementCallback

View Source binarycollection.js, line 33

Promise.<IncrementResult>

# prepend(key, value, optionsopt, callback) → {Promise.<PrependResult>}

Parameters:
Name Type Attributes Description
key string
value Buffer
options * <optional>
timeout integer <optional>
callback PrependCallback

View Source binarycollection.js, line 103

Promise.<PrependResult>