CB Lite C - Query Documents

Developers using Couchbase Lite for C can provide SQL++ query strings using the SQL++ Query API. This API uses query statements of the form shown in the example. The structure and semantics of the query format are based on that of Couchbase Server's SQL++ query language.

This example parses the individual properties of the documents in the result.

See more at the CB Lite C SDK documentation on Querying.

To run this example, click the button in the top right corner of the code editor.

Code Editor