Manipulate Data with Queries
|
Couchbase Server Enterprise Edition 7.6 reaches End of Life on March 31, 2027. Please upgrade to 8.0.x by following Upgrade, or contact Couchbase Support. |
These guides explain how to create, update, and delete data with a SQL++ 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 MERGE statement.
Deleting Data
To delete documents from a keyspace, you can use the DELETE statement or the MERGE statement.