CB Lite Java - Query Documents using N1QL

Developers using Couchbase Lite for Java can provide N1QL query strings using the N1QL 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 N1QL query language - see N1QL Reference Guide and N1QL Data Model.

See more at the CB Lite Java SDK documentation on N1QL queries

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

Code Editor

Output