A newer version of this documentation is available.

View Latest

N1QL Reference

Non-first Normal Form Query Language or N1QL (pronounced "nickel") is the first query language that leverages the complete flexibility of JSON with the full power of SQL. Developed by Couchbase for use with the Couchbase Server, N1QL provides a common query language and JSON-based data model for distributed document-oriented databases.

The N1QL reference guide contains the following:

  • N1QL Language Reference

    Provides information about the N1QL syntax, the basic elements in N1QL, and how to run N1QL queries from a command line.


    Provides information about the N1QL REST API and examples of the REST API.