cbq
- reference
|
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. |
The cbq tool enables you to run SQL++ queries from the command line.
Example
The basic syntax is:
cbq> create primary index on `beer-sample`; cbq> select * from `beer-sample` limit 1;
For detailed information, see cbq: The Command Line Shell for SQL++.