SQL++ - Querying primary keys

Specific primary keys within a bucket can be queried using the USE KEYS clause.

The query on the right used a list of keys to fetch from the tutorial bucket.

Any expression can be used as an argument to the USE KEYS clause, as long as it evaluates to one or more values to be used as keys.

To run this example, click the button in the top right corner of the code editor.

Code Editor