O'Reilly logo

Pro Couchbase Server, Second Edition by Yaniv Rodenski, Mohammed Haji, David Ostrovsky

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 4

image

CRUD and Key-Based Operations

So far in this book, you’ve installed and configured Couchbase, modeled your document database, and used the Client SDKs to perform basic retrieve and create operations. Because Couchbase is both a key-value store and a document database, you can access data in three 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 and, as of version 4.0, a new SQL-like query language called N1QL, which stands for “Non-1st Normal Form Query ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required