Adds a new item to the set. Returning whether the item already existed in the set or not.
The item to add.
A node-style callback to be invoked after execution.
Returns whether a specific value already exists in the set.
The value to search for.
A node-style callback to be invoked after execution.
Removes a specific value from the set.
The value to remove.
A node-style callback to be invoked after execution.
Returns the number of elements in this set.
A node-style callback to be invoked after execution.
Returns a list of all values in the set.
A node-style callback to be invoked after execution.
Generated using TypeDoc
CouchbaseSet provides a simplified interface for storing a set within a Couchbase document.
Collection.set