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 Object <optional>
timeout number <optional>
callback AppendCallback

View Source binarycollection.js, line 94

Promise.<AppendResult>

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

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

View Source binarycollection.js, line 67

Promise.<DecrementResult>

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

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

View Source binarycollection.js, line 39

Promise.<IncrementResult>

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

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

View Source binarycollection.js, line 121

Promise.<PrependResult>