Data Manipulation Queries
This guide explains how to create, update, and delete data with a N1QL query.
Inserting Data
To insert documents in a keyspace, you can use the INSERT statement, the UPSERT statement, or the MERGE statement.
Updating Data
To modify documents in a keyspace, you can use the UPDATE statement or the the MERGE statement.
Deleting Data
To delete documents from a keyspace, you can use the DELETE statement or the MERGE statement.