August 2014
Intermediate to advanced
348 pages
9h 39m
English
CHAPTER 4
![]()
CRUD and Key-Based Operations
So far in the book, you’ve installed and configured Couchbase, modeled your document database, and used the Client SDKs to perform basic store and retrieve operations. Because Couchbase is both a key-value store and a document database, you can access data in two fundamentally different ways. As a key-value store, which is essentially a large hash table, Couchbase provides very fast inserts and retrievals by key. As a document database, Couchbase lets you index and query data through views, which will be covered in the next chapter. Of the two methods, key-based access is the more efficient, but is also ...