Couchbase SDKs support all of the four standard SQL commands used for reading and writing data. These functions in Couchbase have different method names, but they are the functional equivalents of the following SQL commands:
Table 3.1. SQL Commands/Couchbase Commands
| SQL Command | Couchbase SDK Method |
INSERT, to create. |
|
SELECT, to retrieve/read data. |
multiple-retrieves, and get-and-touch (get and update expiration). |
UPDATE, to modify data. |
There are also methods for incrementing and decrementing numeric values, changing the expiration for a value, as well as pre-pending or appending to stored objects. |
DELETE, to remove data. |
deletes information associated with a given key. |