A newer version of this documentation is available.

View Latest

Statements

N1QL statements fall into three categories: data definition language (DDL) statements, data manipulation language (DML) statements, and query statements.
  • Data Definition Language (DDL) statements let you create, modify, and delete indexes.

  • Data Manipulation Language (DML) statements let you delete, insert, update, upsert, and merge data into JSON documents.

  • Queries let you retrieve data.