Native API

If you’re familiar with relational databases and SQL, you’ll notice that Couchbase Lite works differently and has its own database terminology.

Much like Couchbase Server, Couchbase Lite handles data as JSON documents, and uses concepts such as databases, documents, replication, and views and queries. Additionally, Couchbase Lite handles revisions, and a changes feed from Couchbase Server for conflict management.


This guide shows you how to use a Manager. A Manager is a top-level object that manages a collection of Database instances. You need to create a Manager instance before you can work with Couchbase Lite in your Application.
This guide shows you how to use a Database, which is a container for Documents.
This guide shows you how to use a Document. A Document represents a single database record or row, in the form of a JSON object.
This guide shows you how to use Document Revisions. A Revision is used to resolve conflicts detected during replication.
This guide shows you how to use Document Attachments. Attachments store data alongside a document. The data is binary, tagged with a MIME type, and can be arbitrarily large.
This guide shows you how to use Database Views. A View is a persistent index of documents in a database, generated using map/reduce, which you then query to find data.
This guide shows you how to use a Database Query. A Query looks up results from an existing View by returning a range of the view's index, possibly using reducing or grouping to aggregate rows.
A Replication object configures and controls the replication of data between a local database and a remote database.
Model (iOS only)
This guide documents Model objects, which allow you to create an application object model that bridges to Couchbase Lite documents. [Objective-C only]