Iterates each item in the list.
A callback invoked for each item in the list.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Returns the entire list of items in this list.
Optional
callback: NodeCallback<any[]>A node-style callback to be invoked after execution.
Retrieves the item at a specific index in the list.
The index to retrieve.
Optional
callback: NodeCallback<any>A node-style callback to be invoked after execution.
Returns the index of a specific value from the list.
The value to search for.
Optional
callback: NodeCallback<number>A node-style callback to be invoked after execution.
Adds a new item to the end of the list.
The value to add.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Removes an item at a specific index from the list.
The index to remove.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Returns the number of items in the list.
Optional
callback: NodeCallback<number>A node-style callback to be invoked after execution.
Adds a new item to the beginning of the list.
The value to add.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
CouchbaseList provides a simplified interface for storing lists within a Couchbase document.
See
Collection.list